Titles for bp_core_new_nav_item
-
We’re creating a few new navigation and sub-navigation items using bp_core_new_nav_item and noticed that dashes are being added to the title tag and need to find a way to prevent the dashes from being used.
This is what we’re using right now:
bp_core_new_nav_item( array(
'name' => __('Hosting Plans', 'buddypress'),
'slug' => 'hosting-plans',
'screen_function' => 'my_profile_page_function_to_show_screen',
'position' => 40
) );
And in the title tag it’s showing: Member Name | Hosting-plans
Is there a way to force it to show: Member Name | Hosting Plans
- The topic ‘Titles for bp_core_new_nav_item’ is closed to new replies.