WordPress at Your Fingertips
function is not described

WP_Async_Request::get_query_args() protected WC 1.0

Get query args

{} It's a method of the class: WP_Async_Request{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_query_args();

Code of WP_Async_Request::get_query_args() WC 5.8.0

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 ),
	);
}