Filters whether the current request is against a protected endpoint.
Description
This filter is only fired when an endpoint is requested which is not already protected by WordPress core. As such, it exclusively allows providing further protected endpoints in addition to the admin backend, login pages and protected Ajax actions.
Parameters
$is_protected_endpointbool
Whether the currently requested endpoint is protected. Default false.
1173*1174* @since 5.2.01175*1176* @param bool$is_protected_endpoint Whether the currently requested endpoint is protected.1177*Defaultfalse.1178*/1179return(bool)apply_filters('is_protected_endpoint',false);1180}11811182/**1183* Determines whether we are currently handling an Ajax action that should be protected against WSODs.1184*1185* @since 5.2.0
History
Introduced in 5.2.0. Unchanged from 6.7.7 through 7.1.0.