WP_Async_Request::dispatch()

Dispatch the async request


Return Return

(array|WP_Error)


Top ↑

Source Source

File: vendor/deliciousbrains/wp-background-processing/classes/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 );
	}

Top ↑

User Contributed Notes User Contributed Notes

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