A WordPress-centric search engine for devs and theme authors



wp_logout ›

Since5.5.0
Deprecatedn/a
do_action( 'wp_logout', $user_id )
Parameters:
  • (int) $user_id ID of the user that was logged out.
    Required: Yes
Defined at:
Codex:

Fires after a user is logged out.





Source

do_action( 'wp_logout', $user_id );