Last active
September 20, 2016 15:19
-
-
Save pbrocks/93c2a278a04216e3539df7378744c041 to your computer and use it in GitHub Desktop.
Change Name of BP Activity Stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function change_buddypress_activity_title( $title ) { | |
if ( __( 'Site-Wide Activity', 'text-domain' ) === $title ) { | |
$title = __( 'Latest and Greatest News', 'text-domain' ); | |
} | |
return $title; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add_filter( 'bp_get_directory_title', 'change_buddypress_activity_title', 987 );