- Timestamp:
- 07/26/2022 02:59:36 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress-functions.php
r13189 r13306 179 179 // Scripts & Styles. 180 180 $registration_params = array( 181 'hook' => 'bp_enqueue_ scripts',181 'hook' => 'bp_enqueue_community_scripts', 182 182 'priority' => 2, 183 183 ); … … 196 196 197 197 // Enqueue theme CSS. 198 add_action( 'bp_enqueue_ scripts', array( $this, 'enqueue_styles' ) );198 add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_styles' ) ); 199 199 200 200 // Enqueue theme JS. 201 add_action( 'bp_enqueue_ scripts', array( $this, 'enqueue_scripts' ) );201 add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_scripts' ) ); 202 202 203 203 // Enqueue theme script localization. 204 add_ filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) );205 remove_action( 'bp_enqueue_ scripts', 'bp_core_confirmation_js' );204 add_action( 'bp_enqueue_community_scripts', array( $this, 'localize_scripts' ) ); 205 remove_action( 'bp_enqueue_community_scripts', 'bp_core_confirmation_js' ); 206 206 207 207 // Body no-js class.
Note: See TracChangeset
for help on using the changeset viewer.