Changeset 4236 for trunk/bbp-includes/bbp-core-actions.php
- Timestamp:
- 10/09/2012 06:52:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbp-includes/bbp-core-actions.php
r4223 r4236 39 39 * near the bottom of this file. 40 40 * 41 * v--WordPress Actions v--bbPress Sub-actions 42 */ 43 add_action( 'plugins_loaded', 'bbp_loaded', 10 ); 44 add_action( 'init', 'bbp_init', 0 ); // Early for bbp_register 45 add_action( 'parse_query', 'bbp_parse_query', 2 ); // Early for overrides 46 add_action( 'widgets_init', 'bbp_widgets_init', 10 ); 47 add_action( 'generate_rewrite_rules', 'bbp_generate_rewrite_rules', 10 ); 48 add_action( 'wp_enqueue_scripts', 'bbp_enqueue_scripts', 10 ); 49 add_action( 'wp_head', 'bbp_head', 10 ); 50 add_action( 'wp_footer', 'bbp_footer', 10 ); 51 add_action( 'set_current_user', 'bbp_setup_current_user', 10 ); 52 add_action( 'setup_theme', 'bbp_setup_theme', 10 ); 53 add_action( 'after_setup_theme', 'bbp_after_setup_theme', 10 ); 54 add_action( 'template_redirect', 'bbp_template_redirect', 10 ); 55 add_action( 'login_form_login', 'bbp_login_form_login', 10 ); 41 * v--WordPress Actions v--bbPress Sub-actions 42 */ 43 add_action( 'plugins_loaded', 'bbp_loaded', 10 ); 44 add_action( 'init', 'bbp_init', 0 ); // Early for bbp_register 45 add_action( 'parse_query', 'bbp_parse_query', 2 ); // Early for overrides 46 add_action( 'widgets_init', 'bbp_widgets_init', 10 ); 47 add_action( 'generate_rewrite_rules', 'bbp_generate_rewrite_rules', 10 ); 48 add_action( 'wp_enqueue_scripts', 'bbp_enqueue_scripts', 10 ); 49 add_action( 'wp_head', 'bbp_head', 10 ); 50 add_action( 'wp_footer', 'bbp_footer', 10 ); 51 add_action( 'set_current_user', 'bbp_setup_current_user', 10 ); 52 add_action( 'setup_theme', 'bbp_setup_theme', 10 ); 53 add_action( 'after_setup_theme', 'bbp_after_setup_theme', 10 ); 54 add_action( 'template_redirect', 'bbp_template_redirect', 10 ); 55 add_action( 'login_form_login', 'bbp_login_form_login', 10 ); 56 add_action( 'edit_user_profile_update', 'bbp_edit_user_profile_update', 10 ); 56 57 57 58 /** … … 221 222 222 223 // User status 224 // @todo make these sub-actions 223 225 add_action( 'make_ham_user', 'bbp_make_ham_user' ); 224 226 add_action( 'make_spam_user', 'bbp_make_spam_user' ); 227 228 // User capabilities 229 add_action( 'bbp_edit_user_profile_update', 'bbp_edit_user_profile_update_capabilities' ); 225 230 226 231 // Caches … … 236 241 * 237 242 * 1. Form submission within a theme (new and edit) 238 * 2. Accessing private or hidden forums243 * 2. Accessing private or hidden content (forums/topics/replies) 239 244 * 3. Editing forums, topics, replies, users, and tags 240 245 */
Note: See TracChangeset
for help on using the changeset viewer.