$example_link = trailingslashit( bp_displayed_user_domain() . bp_get_example_slug() ); // Add a few subnav items under the main Example tab $sub_nav[] = array( 'name' => __( 'Competition Points', 'bp-example' ), 'slug' => 'sutaz', 'parent_url' => $example_link, 'parent_slug' => bp_get_example_slug(), 'screen_function' => 'bp_example_screen_one', 'position' => 10 );