Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Show Badges in Profile Point History
- * When viewing a profiles point history in BuddyPress,
- * Show a users badges before the history table.
- */
- add_action( 'mycred_bp_profile_before_history', 'mycredpro_show_badges_in_bp_history' );
- function mycredpro_show_badges_in_bp_history( $profile_id ) {
- echo mycred_display_users_badges( $profile_id );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement