WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about is_protected_endpoint

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/load.php apply_filters 1025 /**
* Filters whether the current request is against a protected endpoint.
*
* 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.
*
* @since 5.2.0
*
* @param bool $is_protected_endpoint Whether the currently requested endpoint is protected.
* Default false.
*/

Hook Parameters

Parameter Type Name Description
bool $is_protected_endpoint Whether the currently requested endpoint is protected.