WP_Async_Request::get_query_args()
Get query args
Contents
Return Return
(array)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-async-request.php
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | protected function get_query_args() { if ( property_exists( $this , 'query_args' ) ) { return $this ->query_args; } $args = array ( 'action' => $this ->identifier, 'nonce' => wp_create_nonce( $this ->identifier ), ); /** * Filters the post arguments used during an async request. * * @param array $url */ return apply_filters( $this ->identifier . '_query_args' , $args ); } |
Expand full source code Collapse full source code View on GitHub