wp_logout

wp_logout

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('wp_logout') is found 1 times:

  • /wp-includes/pluggable.php line 671
    		 * @since 5.5.0 Added the `$user_id` parameter.
    		 *
    		 * @param int $user_id ID of the user that was logged out.
    		 */
    		do_action( 'wp_logout', $user_id );
    	}
    endif;
    
    if ( ! function_exists( 'wp_validate_auth_cookie' ) ) :
    	/**
    	 * Validates authentication cookie.
    

See this hook used in plugins: