Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: password_hint

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
2990      $hint = __( 'Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).' );
2991
2992      /**
2993       * Filters the text describing the site's password complexity policy.
2994       *
2995       * @since 4.1.0
2996       *
2997       * @param string $hint The password hint text.
2998       */
2999      return apply_filters( 'password_hint', $hint );
3000 }
3001
3002 /**
3003  * Creates, stores, then returns a password reset key for user.
3004  *
3005  * @since 4.4.0
3006  *
3007  * @param WP_User $user User to retrieve password reset key for.
3008  * @return string|WP_Error Password reset key on success. WP_Error on error.