WP_Async_Request::get_query_url()protectedWC 1.0

Get query URL

{} It's a 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();

Code of WP_Async_Request::get_query_url() WC 6.9.4

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