Change Default Privacy Settings
-
Hi,
Is it possible to change the default privacy settings on the account privacy tab when a new user registers to:
Profile Privacy – Only me
Hide my profile from directory – Yes
I tried to add the following code but it doesn’t seem to work:
add_filter( 'um_profile_privacy_options', 'my_profile_privacy_options', 10, 1 ); function my_profile_privacy_options( $privacy_options ) { $privacy_options ['profile_privacy'] = array( 'default' => 'Only me', ); $privacy_options ['hide_in_members'] = array( 'default' => 'Yes', ); return $privacy_options; }Thanks for your help
Regards,
David
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Change Default Privacy Settings’ is closed to new replies.