WP_Async_Request::maybe_handle() public WC 1.0
Maybe handle
Check for correct nonce and pass to handler.
{} Это метод класса: WP_Async_Request{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WP_Async_Request = new WP_Async_Request(); $WP_Async_Request->maybe_handle();
Код WP_Async_Request::maybe_handle() WP Async Request::maybe handle WC 5.0.0
public function maybe_handle() {
// Don't lock up other requests while processing
session_write_close();
check_ajax_referer( $this->identifier, 'nonce' );
$this->handle();
wp_die();
}