WP_Async_Request::dispatch()
Dispatch the async request
Contents
Return Return
(array|WP_Error)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-async-request.php
81 82 83 84 85 86 | public function dispatch() { $url = add_query_arg( $this ->get_query_args(), $this ->get_query_url() ); $args = $this ->get_post_args(); return wp_remote_post( esc_url_raw( $url ), $args ); } |
Expand full source code Collapse full source code View on GitHub