wp_doing_ajax
wp_doing_ajax ( No parameters )
Returns:- (bool) True if it's a WordPress Ajax request, false otherwise.
Defined at: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Description
Determines whether the current request is a WordPress Ajax request.