Created
July 19, 2016 16:56
-
-
Save colorful-tones/322c27839f9d4afa16fecebce9881bdb to your computer and use it in GitHub Desktop.
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 bp_rename_profile_tabs() { | |
buddypress()->members->nav->edit_nav( array( | |
'name' => __( 'Dashboard', 'textdomain' ), | |
'slug' => __( 'dashboard', 'textdomain' ) | |
), 'activity' ); | |
} | |
add_action( 'bp_actions', 'bp_rename_profile_tabs' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment