jetpack_account_protection_user_requires_protection
jetpack_account_protection_user_requires_protection
Appears in: jetpack.14.5, jetpack.14.6, jetpack.14.7, jetpack.14.8, jetpack.14.9.1, jetpack.15.0, jetpack.15.1, jetpack.15.1.1
Hook Type: filter
Displaying hooks found in version: jetpack.15.1.1apply_filters('jetpack_account_protection_user_requires_protection') is found 1 times:
- /jetpack_vendor/automattic/jetpack-account-protection/src/class-password-detection.php line 404
* @param bool $requires_protection Whether or not password detection should be applied. * @param \WP_User $user The user object to apply the filter against. */ $user_requires_protection = apply_filters( 'jetpack_account_protection_user_requires_protection', true, $user ); if ( ! $user_requires_protection ) { return false; } return wp_check_password( $password, $user->user_pass, $user->ID );