Filter hook 'is_protected_endpoint'

in WP Core File wp-includes/load.php at line 1180

Description

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.

Occurrences

Filename Line Number
wp-includes/load.php 1180

Parameters

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

PHP Doc

/**
	 * 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.
	 */