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
return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.