Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_is_application_passwords_available_for_user

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
4949
4950      /**
4951       * Filters whether Application Passwords is available for a specific user.
4952       *
4953       * @since 5.6.0
4954       *
4955       * @param bool    $available True if available, false otherwise.
4956       * @param WP_User $user      The user to check.
4957       */
4958      return apply_filters( 'wp_is_application_passwords_available_for_user', true, $user );
4959 }
4960
4961 /**
4962  * Registers the user meta property for persisted preferences.
4963  *
4964  * This property is used to store user preferences across page reloads and is
4965  * currently used by the block editor for preferences like 'fullscreenMode' and
4966  * 'fixedToolbar'.
4967  *