wp_auth_check_load filter-hook . WP 3.6.0
Filters whether to load the authentication check.
Returning a falsey value from the filter will effectively short-circuit loading the authentication check.
Usage
add_filter( 'wp_auth_check_load', 'filter_function_name_1598', 10, 2 ); function filter_function_name_1598( $show, $screen ){ // filter... return $show; }
- $show(true/false)
- Whether to load the authentication check.
- $screen(WP_Screen)
- The current screen object.
Changelog
Since 3.6.0 | Introduced. |
Where the hook is called
wp_auth_check_load
wp-includes/functions.php 6589
if ( apply_filters( 'wp_auth_check_load', $show, $screen ) ) {