apply_filters( 'wp_doing_ajax', bool $wp_doing_ajax )
Filters whether the current request is a WordPress Ajax request.
Parameters
-
$wp_doing_ajax
bool -
Whether the current request is a WordPress Ajax request.
Source
File: wp-includes/load.php
.
View all references
return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |