Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: how to combine activity tabs to one

@btees

Participant

Hi @venutius,

I really like your code.

I’ve been trying to a custom metavalue I created to your bp_activity_filter_all_activity_scope function.

So far it looks like:

$industry = xprofile_get_field_data( 2, $user_id, false );

 array(  
        'meta_query' => array(
            array('meta_key' => 'bpcat',
			'meta_key' => $industry))
			
    ),

The activity posts can be tagged with an industry, then the aim is to have the activities show up in the feeds of people in that industry.

Skip to toolbar