BuddyPress::ap_assets_js( array $js )
Description #
Enqueue scripts.
Parameters #
- $jsarray (Required) Javacript array.
Source #
File: addons/buddypress/buddypress.php
public function ap_assets_js( $js ) { if ( ! function_exists( 'bp_current_action' ) && ! function_exists( 'bp_current_component' ) ) { return $js; } if ( bp_current_component() === 'qa' ) { wp_enqueue_script( 'anspress-theme' ); } }
Expand full source code Collapse full source code View on GitHub: addons/buddypress/buddypress.php:90
Add your comment