bp_nouveau_groups_activity_post_form()
Display the current group activity post form if needed
Description
Source
File: bp-templates/bp-nouveau/includes/groups/template-tags.php
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | function bp_nouveau_groups_activity_post_form() { /** * Fires before the display of the group activity post form. * * @since BuddyPress 1.2.0 */ do_action( 'bp_before_group_activity_post_form' ); if ( is_user_logged_in() && bp_group_is_member() && bp_group_is_member_allowed_posting() ) { bp_get_template_part( 'activity/post-form' ); } /** * Fires after the display of the group activity post form. * * @since BuddyPress 1.2.0 */ do_action( 'bp_after_group_activity_post_form' ); } |
Changelog
Version | Description |
---|---|
BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.