wp_doing_ajax()
Determines whether the current request is a WordPress Ajax request.
Return
(bool) True if it's a WordPress Ajax request, false otherwise.
Source
File: wp-includes/load.php
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
Determines whether the current request is a WordPress Ajax request.
(bool) True if it's a WordPress Ajax request, false otherwise.
File: wp-includes/load.php
Version | Description |
---|---|
4.7.0 | Introduced. |