llms_get_minimum_password_strength_name()
Retrieve the translated name of minimum accepted password strength for student passwords
Description Description
Return Return
(string)
Source Source
File: includes/functions/llms.functions.person.php
function llms_get_minimum_password_strength_name() { $strength = llms_get_minimum_password_strength(); switch ( $strength ) { case 'strong': $r = __( 'strong', 'lifterlms' ); break; case 'medium': $r = __( 'medium', 'lifterlms' ); break; case 'weak': $r = __( 'weak', 'lifterlms' ); break; case 'very-weak': $r = __( 'very weak', 'lifterlms' ); break; default: $r = apply_filters( 'llms_get_minimum_password_strength_name_' . $strength, $strength ); } return $r; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: