c_ws_plugin__s2member_pro_lock_icons_in
public class c_ws_plugin__s2member_pro_lock_icons_in
1.5
( 7 Methods ) Method Summary | |
---|---|
public static null | CSS styles for Lock Icon columns. |
public static null | _lock_icons_echo_value_pages(str $column_name, int|str $id) Status for Pages, these are handled separately. |
public static null | _lock_icons_echo_value_post_types(str $column_name, int|str $id) Status for all other Post Types, including Custom Post Types; but excluding Pages. |
public static array | _lock_icons_return_column(array $cols) The "(s2)" column header, attaching an ID to it as well. |
public static str | _lock_icons_return_value_categories(str $value, str $column_name, int|str $id) Status for Categories. |
public static str | _lock_icons_return_value_tags(str $value, str $column_name, int|str $id) Status for Tags. |
public static str | _return_lock_icons_description(array $array) Translates a return array into a string description. |
public static null _lock_icons_echo_css()
CSS styles for Lock Icon columns.
1.5
null
public static null _lock_icons_echo_value_pages(str $column_name, int|str $id)
Status for Pages, these are handled separately.
1.5
str $column_name - Column ID/Name. We need to look at this to fill the (s2)
column.
int|str $id - Expecting a numeric Page ID to be passed by the Action Hook.
null
public static null _lock_icons_echo_value_post_types(str $column_name, int|str $id)
Status for all other Post Types, including Custom Post Types; but excluding Pages.
1.5
str $column_name - Column ID/Name. We need to look at this to fill the (s2)
column.
int|str $id - Expecting a numeric Post ID to be passed by the Action Hook.
null
public static array _lock_icons_return_column(array $cols)
The "(s2)" column header, attaching an ID to it as well.
1.5
array $cols - Array of columns passed through by a Filter.
array - Merged array of columns, including the one for (s2)
.
public static str _lock_icons_return_value_categories(str $value, str $column_name, int|str $id)
Status for Categories.
1.5
str $value - Existing value for this data column.
str $column_name - Column ID/Name. We need to look at this to fill the (s2)
column.
int|str $id - Expecting a numeric Category ID to be passed through by the Filter.
str - If (s2)
column, return status. Else, existing $value
.
public static str _lock_icons_return_value_tags(str $value, str $column_name, int|str $id)
Status for Tags.
1.5
str $value - Existing value for this data column.
str $column_name - Column ID/Name. We need to look at this to fill the (s2)
column.
int|str $id - Expecting a numeric Tag ID to be passed through by the Filter.
str - If (s2)
column, return status. Else, existing $value
.
public static str _return_lock_icons_description(array $array)
Translates a return array into a string description.
1.5
array $array - Expects an array returned by one of s2Member's security routines.
str - A verbose string representation of the return array details.
Pro Lock Icons (inner processing routines).