c_ws_plugin__s2member_user_notes
public class c_ws_plugin__s2member_user_notes
3.5
( 2 Methods ) Method Summary | |
---|---|
public static str | append_user_notes(int|str $user_id, str $notes) Appends a note onto a specific User/Member's account. |
public static str | clear_user_note_lines(int|str $user_id, str $regex) Clear specific notes from a User/Member's account; based on line-by-line regex. |
public static str append_user_notes(int|str $user_id, str $notes)
Appends a note onto a specific User/Member's account.
3.5
int|str $user_id - A numeric WordPress® User ID.
str $notes - The string of notes to append. One note, or many.
str - The full set of notes, including appendage.
public static str clear_user_note_lines(int|str $user_id, str $regex)
Clear specific notes from a User/Member's account; based on line-by-line regex.
3.5
int|str $user_id - A numeric WordPress® User ID.
str $regex - A regular expression to match against each line.
str - The full set of notes, after clearing.
Administrative notes.