WP_Async_Request::get_query_url
Get query URL
Method of the class: WP_Async_Request{}
Hooks from the method
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_query_url();
WP_Async_Request::get_query_url() WP Async Request::get query url code WC 10.8.1
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 );
}