Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,886
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Why do you have a ‘2’ in the accepted_args parameter?
add_action( 'bp_activity_type_tabs', 'bn_add_activity_tab', 1, 2 );
Your function will add ‘hello’ on the Site-Wide Activity page – not a member page > activity.
To add a link to the Activity subnav on a member page, use bp_core_new_subnav_item.