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
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | 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