WP_Async_Request::get_post_args()protectedWC 1.0

Get post args

Метод класса: WP_Async_Request{}

Хуки из метода

Возвращает

Массив.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_post_args();

Код WP_Async_Request::get_post_args() WC 8.7.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 ),
	);
}