Changeset 5289 for trunk/bp-core/bp-core-hooks.php
- Timestamp:
- 11/06/2011 06:52:09 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-hooks.php
r5121 r5289 16 16 17 17 // Attach bp_init to WordPress init 18 add_action( 'init', 'bp_init');18 add_action( 'init', 'bp_init' ); 19 19 20 20 // Parse the URI and set globals 21 add_action( 'bp_init', 'bp_core_set_uri_globals',2 );21 add_action( 'bp_init', 'bp_core_set_uri_globals', 2 ); 22 22 23 23 // Setup component globals 24 add_action( 'bp_init', 'bp_setup_globals',4 );24 add_action( 'bp_init', 'bp_setup_globals', 4 ); 25 25 26 26 // Setup the navigation menu 27 add_action( 'bp_init', 'bp_setup_nav',7 );27 add_action( 'bp_init', 'bp_setup_nav', 7 ); 28 28 29 29 // Setup the navigation menu 30 add_action( 'admin_bar_menu', 'bp_setup_admin_bar');30 add_action( 'admin_bar_menu', 'bp_setup_admin_bar', 11 ); 31 31 32 32 // Setup the title 33 add_action( 'bp_init', 'bp_setup_title',9 );33 add_action( 'bp_init', 'bp_setup_title', 9 ); 34 34 35 35 // Setup widgets 36 add_action( 'bp_loaded', 'bp_setup_widgets');36 add_action( 'bp_loaded', 'bp_setup_widgets' ); 37 37 38 38 // Setup admin bar 39 add_action( 'bp_loaded', 'bp_core_load_admin_bar');39 add_action( 'bp_loaded', 'bp_core_load_admin_bar' ); 40 40 41 41 /** The hooks *****************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.