Support » Plugin: Ultimate Member - User Profile & Membership Plugin » 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.

  • You must be logged in to reply to this topic.