@athep
4 years ago
I solved it by adding scope and I don’t know why, if anyone needs it, here it is bp_has_activities(bp_ajax_querystring( 'activity' ) . '&scope=groups&action=activity_update' )
scope
bp_has_activities(bp_ajax_querystring( 'activity' ) . '&scope=groups&action=activity_update' )
I have also tried this and it’s not working
<?php if ( bp_has_groups( 'user_id=' . get_current_user_id() ) && bp_has_activities('action=activity_update') ): ?>