WP_Async_Request::get_query_args
Get query args
Method of the class: WP_Async_Request{}
No Hooks.
Returns
array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_query_args();
WP_Async_Request::get_query_args() WP Async Request::get query args code WC 11.2.2
protected function get_query_args() {
if ( property_exists( $this, 'query_args' ) ) {
return $this->query_args;
}
return array(
'action' => $this->identifier,
'nonce' => wp_create_nonce( $this->identifier ),
);
}