auth_cookie_valid

auth_cookie_valid

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('auth_cookie_valid') is found 1 times:

  • /wp-includes/pluggable.php line 837
    		 *     @type string $scheme     The cookie scheme to use.
    		 * }
    		 * @param WP_User  $user            User object.
    		 */
    		do_action( 'auth_cookie_valid', $cookie_elements, $user );
    
    		return $user->ID;
    	}
    endif;
    
    if ( ! function_exists( 'wp_generate_auth_cookie' ) ) :
    

See this hook used in plugins: