WP_Async_Request::get_post_args()

Get post args


Description


Return

(array)


Source

File: classes/library/batch-processing/wp-async-request.php

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


User Contributed Notes

You must log in before being able to contribute a note or feedback.