WP_Async_Request::get_query_args()
Get query args
Contents
Return Return
(array)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-async-request.php
protected function get_query_args() {
if ( property_exists( $this, 'query_args' ) ) {
return $this->query_args;
}
$args = array(
'action' => $this->identifier,
'nonce' => wp_create_nonce( $this->identifier ),
);
/**
* Filters the post arguments used during an async request.
*
* @param array $url
*/
return apply_filters( $this->identifier . '_query_args', $args );
}
Expand full source code Collapse full source code View on GitHub