This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

pcwriter

By: a guest on Aug 8th, 2010  |  syntax: None  |  size: 0.22 KB  |  views: 33  |  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. /* Only load code that needs BuddyPress to run once BP is loaded and initialized. */
  2. function bpwp_navbar_init() {
  3.     require( WP_PLUGIN_DIR . '/bp-wp-navbar/bp-wp-navbar.php' );
  4. }
  5. add_action( 'bp_init', 'bpwp_navbar_init' );
clone this paste RAW Paste Data