WordPress at a glance
filter is not described

is_protected_endpoint filter-hook . WP 5.2.0

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.

Usage

add_filter( 'is_protected_endpoint', 'filter_function_name_4879' );
function filter_function_name_4879( $is_protected_endpoint ){
	// filter...

	return $is_protected_endpoint;
}
$is_protected_endpoint(true/false)
Whether the currently requested endpoint is protected.
Default: false

Where the hook is called

is_protected_endpoint()
is_protected_endpoint
wp-includes/load.php 842
return (bool) apply_filters( 'is_protected_endpoint', false );

Where the hook is used (in WP core)

Использование не найдено.