Summery Summery
Log the current user out.
Syntax Syntax
Source Source
File: wp-includes/pluggable.php
return $user; } endif; if ( ! function_exists( 'wp_logout' ) ) : /** * Log the current user out. * * @since 2.5.0 */ function wp_logout() { $user_id = get_current_user_id();
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |