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