Свойство | Тип | Описание | |
---|---|---|---|
$action | string | (default value: 'async_request') | |
$data | array | (default value: array()) | |
$identifier | mixed | Identifier | |
$prefix | string | (default value: 'wp') |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
get_post_args ( ) : array | Get post args | |
get_query_args ( ) : array | Get query args | |
get_query_url ( ) : string | Get query URL | |
handle ( ) | Handle |
protected get_query_args ( ) : array | ||
Результат | array |
protected get_query_url ( ) : string | ||
Результат | string |
abstract protected handle ( ) |
protected string $action | ||
Результат | string |