Skip to content

Commit

Permalink
added condition for bb
Browse files Browse the repository at this point in the history
  • Loading branch information
vapvarun committed Jan 21, 2022
1 parent b5efe05 commit c8cf8ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion buddypress/activity/entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@

<div class="activity-inner">

<?php bp_get_template_part( 'activity/type-parts/content', bp_activity_type_part() ); ?>
<?php
if ( function_exists( 'buddypress' ) && isset( buddypress()->buddyboss ) ) {
bp_nouveau_activity_content();
} else {
bp_get_template_part( 'activity/type-parts/content', bp_activity_type_part() );
}
?>

</div>

Expand Down

0 comments on commit c8cf8ed

Please sign in to comment.