WP_Async_Request::get_query_url
Get query URL
Метод класса: WP_Async_Request{}
Хуки из метода
Возвращает
Строку.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_query_url();
Код WP_Async_Request::get_query_url() WP Async Request::get query url WC 10.7.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 );
}