Change UM default settings
-
Hello,
For social network sharing I need to change the UM default setting ‘profile_desc’ by using “um_default_settings_values” hook, I try it without success.
I put this code in my child theme functions.php file :
add_filter( 'um_default_settings_values', 'my_default_description', 10, 1 ); function my_default_description( $settings ) { $settings['profile_desc'] = "Vous pouvez voir mon profil sur ce site"; return $settings; }
Where am I wrong ?
Thank you so much.
- The topic ‘Change UM default settings’ is closed to new replies.