c_ws_plugin__s2member_user_deletions
public class c_ws_plugin__s2member_user_deletions
3.5
( 2 Methods ) Method Summary | |
---|---|
public static null | handle_ms_user_deletions(int|str $user_id, int|str $blog_id, bool $s2says) Handles Multisite User removal deletions. |
public static null | handle_user_deletions(int|str $user_id) Handles User removals/deletions. |
public static null handle_ms_user_deletions(int|str $user_id, int|str $blog_id, bool $s2says)
Handles Multisite User removal deletions.
3.5
add_action("remove_user_from_blog");
int|str $user_id - Numeric WordPress® User ID.
int|str $blog_id - Numeric WordPress® Blog ID.
bool $s2says - Optional. Defaults to false. If true, it's definitely OK to process this deletion? The $s2says
flag can be used when/if the routine is called directly for whatever reason.
null
public static null handle_user_deletions(int|str $user_id)
Handles User removals/deletions.
3.5
add_action("delete_user");
add_action("wpmu_delete_user");
int|str $user_id - Numeric WordPress® User ID.
null
User deletion routines.