Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sitewide Activity title


  • sofaires
    Participant

    @sofaires

    im using wordpress 4.5 and latest buddypress i tried a few codes no luck is there a way to change it even if it means to go to the file and hack it, i prefer some code that is easily maintainable but at this point i need it change while i find a better solution. thanks in advance

Viewing 1 replies (of 1 total)

  • sharmavishal
    Participant

    @sharmavishal

    `function change_translate_text( $translated_text ) {
    if ( $translated_text == ‘Activity Streams’ ) {
    $translated_text = ‘Activity’;
    }
    return $translated_text;
    }
    add_filter( ‘gettext’, ‘change_translate_text’, 20 );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar