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 on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_doing_ajax