Changeset 10719
- Timestamp:
- 04/27/2016 12:20:12 PM (8 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-actions.php
r10431 r10719 33 33 add_action( 'plugins_loaded', 'bp_loaded', 10 ); 34 34 add_action( 'init', 'bp_init', 10 ); 35 add_action( 'rest_api_init', 'bp_rest_api_init', 20 ); // After WP core. 35 36 add_action( 'customize_register', 'bp_customize_register', 20 ); // After WP core. 36 37 add_action( 'parse_query', 'bp_parse_query', 2 ); // Early for overrides. -
trunk/src/bp-core/bp-core-dependency.php
r10709 r10719 253 253 254 254 /** 255 * Fire the 'bp_rest_api_init' action, where BuddyPress registers REST API endpoints. 256 * 257 * @since 2.6.0 258 */ 259 function bp_rest_api_init() { 260 261 /** 262 * Fires the 'bp_rest_api_init' function, where BuddyPress registers REST API endpoints. 263 * 264 * @since 2.6.0 265 */ 266 do_action( 'bp_rest_api_init' ); 267 } 268 269 /** 255 270 * Fire the 'bp_customize_register' action when the Customizer has loaded, 256 271 * allowing scripts and styles to be initialized.
Note: See TracChangeset
for help on using the changeset viewer.