Filters whether to allow a password to be reset.
$allow, $user->ID
Sortie :
@param bool $allow Whether to allow the password to be reset. Default true. @param int $user_id The ID of the user attempting to reset a password.
// Modifier la valeur avec le filtre 'allow_password_reset'
add_filter('allow_password_reset', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($allow) {
// Modifier la valeur
return $allow;
}
Chargement des actualités...