Filter: um_profile_tabs_privacy_list

apply_filters( 'um_profile_tabs_privacy_list', $privacy_option ) → {array}

Filters a privacy list extend.

Parameters:
Name Type Description
$privacy_option array

Add options for profile tabs' privacy.

Since:
  • 2.7.0
Source:
Returns:

Options for profile tabs' privacy.

Type
array
Example

Add options for profile tabs' privacy.

function um_profile_menu_link_attrs( $privacy_option ) {
    // your code here
    return $privacy_option;
}
add_filter( 'um_profile_tabs_privacy_list', 'um_profile_tabs_privacy_list', 10, 1 );