WordPress at Your Fingertips
function is not described

WP_Async_Request::get_post_args() protected WC 1.0

Get post args

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

Hooks from the method

Return

Array.

Usage

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

Code of WP_Async_Request::get_post_args() WC 5.8.0

protected function get_post_args() {
	if ( property_exists( $this, 'post_args' ) ) {
		return $this->post_args;
	}

	return array(
		'timeout'   => 0.01,
		'blocking'  => false,
		'body'      => $this->data,
		'cookies'   => $_COOKIE,
		'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
	);
}