is_protected_ajax_action
is_protected_ajax_action ( No parameters )
Returns:- (bool) True if the current Ajax action should be protected.
Defined at: - Introduced in WordPress: 5.2.0
- Deprecated in WordPress: —
Description
Determines whether we are currently handling an Ajax action that should be protected against WSODs.