WP_Async_Request::dispatch()
Dispatch the async request
Description
Return
(array|WP_Error)
Source
File: classes/library/batch-processing/wp-async-request.php
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 Trac