AnsPress_BP_Hooks::ap_assets_js( array $js )
Description #
Enqueue scripts.
Parameters #
- $jsarray (Required) Javacript array.
Source #
File: addons/free/buddypress.php
public static function ap_assets_js( $js ) { if ( ! function_exists( 'bp_current_action' ) && ! function_exists( 'bp_current_component' ) ) { return $js; } if ( bp_current_component() === 'qa' ) { $js['main']['active'] = true; $js['theme']['active'] = true; } return $js; }
Expand full source code Collapse full source code View on GitHub: addons/free/buddypress.php:78
Add your comment