bp_nouveau_before_activity_post_form()
Enqueue needed scripts for the Activity Post Form
Source 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' ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Move the bp_before_activity_post_form hook inside the Activity post form. |
3.0.0 | Introduced. |