WP_Async_Request::get_query_url()protectedWC 1.0

Get query URL

Метод класса: WP_Async_Request{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_query_url();

Код WP_Async_Request::get_query_url() 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' );
}