Method | Description | |
---|---|---|
isAjax ( ) : boolean | Return TRUE if we are called by Ajax. Used to be sure that we are responding to an HTTPRequest request and that the WordPress define DOING_AJAX is defined. | |
isRequest ( string $verb ) : boolean | Return true if the $verb param in input match with REQUEST METHOD | |
isRequestGET ( ) : boolean | Return true if the REQUEST METHOD is GET | |
isRequestPOST ( ) : boolean | Return true if the REQUEST METHOD is POST |
public static isRequestGET ( ) : boolean | ||
return | boolean |
public static isRequestPOST ( ) : boolean | ||
return | boolean |