BuddyPress - Activation Message

How can I change the activation message which I believe is being displayed by BuddyPress?

"Your account was activated successfully! You can now log in with the username and password you provided when you signed up."

Is there a filter I can add to functions.php?

Thanks,
Chris

  • Vinod Dalvi

    Hi Chris,

    I hope you are well today and thank you for your question.

    I don't find any filter to change that message but you can change it either by using "Network Wide Text Change" text change module of following Ultimate Branding plugin

    https://premium.wpmudev.org/project/ultimate-branding/#usage

    Or by using the attached small plugin containing the following code. Please change the text 'Add your edited message here' in the following plugin code with your custom message.

    function wpmu_gettext_with_context( $translated_text, $untranslated_text, $domain ) {
        if ( 'buddypress' == $domain ) {
            if (strpos($untranslated_text,'Your account was activated successfully! You can now') !== false) {
                $translated_text = 'Add your edited message here';
            }
        }
    
        return $translated_text;
    }
    add_filter( 'gettext', 'wpmu_gettext_with_context', 10, 3 );

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.