Свойство | Тип | Описание | |
---|---|---|---|
$default_privacy | default application wide privacy levels | ||
$rtm_activity_table_alias |
Метод | Описание | |
---|---|---|
__construct ( $flag = true ) | ||
activity_privacy ( $sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '' ) | ||
activity_privacy_sql_field ( $sql, $select_sql, $from_sql, $where_sql, $sort, string $pag_sql = '' ) : string | Hooked to bp_activity_get_user_join_filter filter. Get activity privacy field inside loop. | |
add_activity_privacy_nonce ( ) | Add nonce field for activity privacy change action verification | |
add_nav ( ) | ||
can_use_rtm_ac_privacy ( ) : boolean | mixed | void | Check if activity privacy migration is done or not. | |
content ( ) | ||
enable_buddypress_load_more ( $has_more_items ) | ||
enable_buddypress_privacy ( $flag, $method, $func_args ) | ||
get_default ( ) | ||
get_user_default ( $user_id = false ) | ||
is_enabled ( ) | ||
required_access ( $object_id = false ) | ||
rt_privacy_settings_action ( ) | changing and saving of privacy setting save action | |
rtm_change_activity_privacy ( ) | ||
save_user_default ( $level, $user_id = false ) | ||
select_privacy_ui ( $echo = true, $element_id = false, $element_class = [], $selected = false ) | ||
settings_ui ( ) | ||
site_default ( ) | ||
system_default ( ) | ||
title ( ) | ||
update_activity_privacy_option ( ) | Hooked to bp_activity_entry_meta | |
user_default ( ) |
public activity_privacy ( $sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '' ) |
public activity_privacy_sql_field ( $sql, $select_sql, $from_sql, $where_sql, $sort, string $pag_sql = '' ) : string | ||
$sql | ||
$select_sql | ||
$from_sql | ||
$where_sql | ||
$sort | ||
$pag_sql | string | |
Результат | string |
public add_activity_privacy_nonce ( ) |
public enable_buddypress_load_more ( $has_more_items ) |
public enable_buddypress_privacy ( $flag, $method, $func_args ) |
public rt_privacy_settings_action ( ) |
static public save_user_default ( $level, $user_id = false ) |
public select_privacy_ui ( $echo = true, $element_id = false, $element_class = [], $selected = false ) |
public update_activity_privacy_option ( ) |