authenticate

authenticate

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('authenticate') is found 1 times:

  • /wp-includes/pluggable.php line 618
    		 *                                        WP_Error or null otherwise.
    		 * @param string                $username Username or email address.
    		 * @param string                $password User password.
    		 */
    		$user = apply_filters( 'authenticate', null, $username, $password );
    
    		if ( null === $user || false === $user ) {
    			/*
    			 * TODO: What should the error message be? (Or would these even happen?)
    			 * Only needed if all authentication handlers fail to return anything.
    			 */
    

See this hook used in plugins: