bp_nouveau_before_activity_post_form()
Enqueue needed scripts for the Activity Post Form
Description
Source
File: bp-templates/bp-nouveau/includes/activity/template-tags.php
function bp_nouveau_before_activity_post_form() {
if ( bp_nouveau_current_user_can( 'publish_activity' ) ) {
wp_enqueue_script( 'bp-nouveau-activity-post-form' );
}
/**
* Fires before the activity post form.
*
* @since BuddyPress 1.2.0
*/
do_action( 'bp_before_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.