Last active
February 7, 2017 18:04
-
-
Save pbrocks/8201532ccffc3da591d1f177bbe8d4ea to your computer and use it in GitHub Desktop.
From https://buddypress.org/support/topic/how-to-change-sitewide-activity-on-activity-page-in-bp-1-7b1/Cd
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
add_filter( 'bp_get_directory_title', 'change_activity_title' ); | |
function change_activity_title( $data ) { | |
if ( 'Sitewide Activity' === $data ) { | |
$data = 'Name'; | |
} | |
return $data; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment