wp_auth_check_load WordPress Filter Hook
The wp_auth_check_load hook is called when the user is authenticated. It allows you to load a specific user or set of users into the current user session. This can be useful if you need to authenticate a user against a remote system.
apply_filters( 'wp_auth_check_load', bool $show , WP_Screen $screen ) #
Filters whether to load the authentication check.
Description
Returning a falsey value from the filter will effectively short-circuit loading the authentication check.
Parameters
- $show
(bool)Whether to load the authentication check.
- $screen
(WP_Screen)The current screen object.
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |