WP_Async_Request::get_post_args()
Get post args
Contents
Return Return
(array)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-async-request.php
protected function get_post_args() { if ( property_exists( $this, 'post_args' ) ) { return $this->post_args; } $args = array( 'timeout' => 0.01, 'blocking' => false, 'body' => $this->data, 'cookies' => $_COOKIE, 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), ); /** * Filters the post arguments used during an async request. * * @param array $args */ return apply_filters( $this->identifier . '_post_args', $args ); }
Expand full source code Collapse full source code View on GitHub