gianism_user_profile_notices

gianism_user_profile_notices

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_user_profile_notices') is found 1 times:

  • /app/Gianism/Controller/Profile.php line 105
    		// Check if mail address is pseudo
    		if ( $this->profile_checker->is_pseudo_mail( $user->user_email ) ) {
    			$error->add( 'invalid_email', __( 'Your mail address is automatically generated and is pseudo. <a href="#email">Changing it</a> to valid mail address is highly recommended, else <strong>you might be unable to log in</strong>.', 'wp-gianism' ) );
    		}
    		return apply_filters( 'gianism_user_profile_notices', $error, $user );
    	}
    
    	/**
    	 * Display parent site link.
    	 *
    	 * @param \WP_User $user