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 );
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.