<?php
if
(
is_user_logged_in
(
)
&&
bp_group_is_member
(
)
)
:
?>
<?php
bp_get_template_part
(
'activity/post-form'
)
;
?>
<?php
endif
;
?>