Property | Type | Description | |
---|---|---|---|
$action | string | (default value: 'async_request') | |
$data | array | (default value: array()) | |
$identifier | mixed | Identifier | |
$prefix | string | (default value: 'wp') |
Method | Description | |
---|---|---|
__construct ( ) | Initiate new async request | |
data ( array $data ) | Set data used during the request | |
dispatch ( ) : array | WP_Error | Dispatch the async request | |
maybe_handle ( ) | Maybe handle |
Method | Description | |
---|---|---|
get_post_args ( ) : array | Get post args | |
get_query_args ( ) : array | Get query args | |
get_query_url ( ) : string | Get query URL | |
handle ( ) | Handle |
abstract protected handle ( ) |
protected string $action | ||
return | string |