You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ben Huson edited this page Jun 24, 2013
·
1 revision
The action is triggered when a user expires.
It can be used to trigger events - for example you could use this hook to automatically unpublish a post or change a user's information. It passes an Expire_User object as a parameter.
<?phpfunctionmy_expire_users_expired( $user ) {
/* $user is an instance of the Expire_User object The user's ID is $user->user_id */
}
add_action( 'expire_users_expired', 'my_expire_users_expired' );
?>