WP_Async_Request::get_query_url()protectedWC 1.0

Get query URL

Method of the class: WP_Async_Request{}

Hooks from the method

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_query_url();

WP_Async_Request::get_query_url() code WC 8.3.0

protected function get_query_url() {
	if ( property_exists( $this, 'query_url' ) ) {
		return $this->query_url;
	}

	$url = admin_url( 'admin-ajax.php' );

	/**
	 * Filters the post arguments used during an async request.
	 *
	 * @param string $url
	 */
	return apply_filters( $this->identifier . '_query_url', $url );
}