issue with bp_core_add_nav_default
I doubt I’ll get an answer before I get home and figure it out, but:
bp_core_add_nav_default( $bp->achievements->slug, 'dpa_screen', apply_filters( 'dpa_screen_summary_slug', 'summary' ) ); //TODO slugbug
adds the default page to display when you visit a URL like http://dangerous-minds.org/members/djpaul/achievements/.
Problem is, that line above also ‘enables’ http://dangerous-minds.org/achievements/. Achievements is my slug. I don’t want this and can’t figure out why it is doing this.
Anyone got any ideas?
- The topic ‘issue with bp_core_add_nav_default’ is closed to new replies.