• Hello,

    this plugin is really helpfull and works well so far, even after such a long time without any update.

    Could you help me to rename the output on activity?
    I want to set “Follows” instead of “Following”.

    I tried it with this snippet – do you see my mistake?

    
    /* Following */
    function bp_translate_following_link( $translated_text ) {
    
        switch ( $translated_text ) {
            case 'Following %s' :
                $translated_text = sprintf( __( 'Follows %s', 'buddypress-followers' ), '<span>' . bp_follow_user_activity_following_count() . '</span>' );
                break;
        }
        
        return $translated_text;
    }
    
    add_filter( 'gettext', 'bp_translate_following_link', 20 );
    

    Thank you,
    Chris

    • This topic was modified 4 years, 11 months ago by vuture.
    • This topic was modified 4 years, 11 months ago by vuture.
  • The topic ‘Rename “Following” on Activity-Page’ is closed to new replies.