bp_nouveau_activity_member_post_form()

Display the displayed user activity post form if needed

Description

Return

(string) HTML.

Source

File: bp-templates/bp-nouveau/includes/activity/template-tags.php

153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
function bp_nouveau_activity_member_post_form() {
 
    /**
     * Fires before the display of the member activity post form.
     *
     * @since BuddyPress 1.2.0
     */
    do_action( 'bp_before_member_activity_post_form' );
 
    $is_main_tab = ! bp_current_action() || strpos( bp_current_action(), 'just-me' ) !== false;
    if ( is_user_logged_in() && $is_main_tab ) {
        bp_get_template_part( 'activity/post-form' );
    }
 
    /**
     * Fires after the display of the member activity post form.
     *
     * @since BuddyPress 1.2.0
     */
    do_action( 'bp_after_member_activity_post_form' );
}

Changelog

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.