WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
4961 |
|
4962 | /** |
4963 | * Filters whether Application Passwords is available for a specific user. |
4964 | * |
4965 | * @since 5.6.0 |
4966 | * |
4967 | * @param bool $available True if available, false otherwise. |
4968 | * @param WP_User $user The user to check. |
4969 | */ |
4970 | return apply_filters( 'wp_is_application_passwords_available_for_user', true, $user ); |
4971 | } |
4972 |
|
4973 | /** |
4974 | * Registers the user meta property for persisted preferences. |
4975 | * |
4976 | * This property is used to store user preferences across page reloads and is |
4977 | * currently used by the block editor for preferences like 'fullscreenMode' and |
4978 | * 'fixedToolbar'. |
4979 | * |