Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 16th, 2013  |  syntax: None  |  size: 0.43 KB  |  hits: 37  |  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. $example_link = trailingslashit( bp_displayed_user_domain() . bp_get_example_slug() );
  2.  
  3.                 // Add a few subnav items under the main Example tab
  4.                 $sub_nav[] = array(
  5.                         'name'            =>  __( 'Competition Points', 'bp-example' ),
  6.                         'slug'            => 'sutaz',
  7.                         'parent_url'      => $example_link,
  8.                         'parent_slug'     => bp_get_example_slug(),
  9.                         'screen_function' => 'bp_example_screen_one',
  10.                         'position'        => 10
  11.                 );