Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Trying to make new Activity tab

@shanebp

Moderator

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.

Skip to toolbar