Last active
August 7, 2023 12:42
-
-
Save raftaar1191/f94fb5b55da202afe341508bdea12327 to your computer and use it in GitHub Desktop.
Add text on the user profile page after the nickname is displayed
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
/** | |
* Print custom text on the profile page after the nickname | |
*/ | |
function awp_bp_before_member_header_meta_callback() { | |
echo "Custom Text"; | |
} | |
add_action( 'bp_before_member_header_meta', 'awp_bp_before_member_header_meta_callback' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alter method: