WP_Async_Request::get_query_url()protectedWC 1.0

Get query URL

Method of the class: WP_Async_Request{}

No Hooks.

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.7.0

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

	return admin_url( 'admin-ajax.php' );
}