WP_Async_Request::get_post_args
Get post args
Method of the class: WP_Async_Request{}
Hooks from the method
Returns
array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_post_args();
WP_Async_Request::get_post_args() WP Async Request::get post args code WC 11.3.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 ),
);
}