Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\User_Deletions

s2member\includes\classes\user-deletions.inc.php at line #28

Class c_ws_plugin__s2member_user_deletions

c_ws_plugin__s2member_user_deletions

public class c_ws_plugin__s2member_user_deletions

User deletion routines.

Since:

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.

( 2 Methods )
Method Detail

s2member\includes\classes\user-deletions.inc.php at line #44

handle_ms_user_deletions()

public static null handle_ms_user_deletions(int|str $user_id, int|str $blog_id, bool $s2says)

Handles Multisite User removal deletions.

Since:

3.5

Attaches-to:

add_action("remove_user_from_blog");

Parameters:

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.

Returns:

null

[ back to top ]

s2member\includes\classes\user-deletions.inc.php at line #88

handle_user_deletions()

public static null handle_user_deletions(int|str $user_id)

Handles User removals/deletions.

Since:

3.5

Attaches-to:

add_action("delete_user");

add_action("wpmu_delete_user");

Parameters:

int|str $user_id - Numeric WordPress® User ID.

Returns:

null

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail