wphooks.info - wp_logout

wp_logout

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/pluggable.php:
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
	 */
	function wp_logout() {
		wp_destroy_current_session();
		wp_clear_auth_cookie();

		/**
		 * Fires after a user is logged-out.
		 *
		 * @since 1.5.0
		 */
		do_action( 'wp_logout' );
	}
endif;

if ( ! function_exists( 'wp_validate_auth_cookie' ) ) :
	/**
	 * Validates authentication cookie.
	 *
	 * The checks include making sure that the authentication cookie is set and
	 * pulling in the contents (if $cookie is not used).