Summery Summery

Filters whether the current request is against a protected endpoint.

Syntax Syntax

apply_filters( 'is_protected_endpoint', bool $is_protected_endpoint )

Description 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 Parameters


(bool) Whether the currently requested endpoint is protected. Default false.

Source Source

File: wp-includes/load.php


Changelog Changelog

Version Description
5.2.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?