Core Function
View Source on Trac ↗ wp_doing_ajax()
wp_doing_ajax( ) Determines whether the current request is a WordPress Ajax request.
Return Value
(bool)
True if it's a WordPress Ajax request, false otherwise.
Function Information
Since Version
4.7.0
Source File
wp-includes/load.php
Advertisement