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
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
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.