wpseek.com WordPress开发者和主题制作者的搜索引擎 功能 过滤器 动作 常量 XINGTwitterFacebookDelicious 通用信息 源码 wp_logout › WordPress动作钩子Since5.5.0已弃用n/a› do_action( 'wp_logout', $user_id )参数:(int) $user_id ID of the user that was logged out.Required: Yes定义在:wp-includes/pluggable.php, line 671 文档:Plugin_API/Action_Reference/wp_logoutFires after a user is logged out.Related Functions: wp_logout, wp_loginout, wp_logout_url, wp_login, wp_login_url, wp_footerRelated Hooks: loginout, wp_login, wp_footer, wp_robots, logout_url 源码 do_action( 'wp_logout', $user_id );