• Bradypus

    (@clementgalliot)


    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.

    • This topic was modified 4 years, 7 months ago by Bradypus.
  • The topic ‘Change UM default settings’ is closed to new replies.