Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 7th, 2012  |  syntax: HTML  |  size: 0.24 KB  |  views: 108  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /**
  2.  * Add Achievements to Profile Header.
  3.  */
  4. function dpa_show_achievements() {
  5. ?>
  6.         Achievements: <?php dpa_member_achievements_score( $user_id ) ?>
  7. <?php
  8. }
  9. add_action( 'bp_before_member_header_meta', 'dpa_show_achievements' );
  10. ?>
clone this paste RAW Paste Data