Changeset 2970 for branches/plugin/bbp-includes/bbp-hooks.php
- Timestamp:
- 04/01/2011 01:33:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-hooks.php
r2965 r2970 36 36 * bbp_loaded - Attached to 'plugins_loaded' above 37 37 * 38 * Attach various loader actions sto the bbp_loaded action.38 * Attach various loader actions to the bbp_loaded action. 39 39 * The load order helps to load code at the correct time. 40 40 * v---Load order … … 49 49 * bbp_init - Attached to 'init' above 50 50 * 51 * Attach various initialization actions sto the init action.51 * Attach various initialization actions to the init action. 52 52 * The load order helps to load code at the correct time. 53 53 * v---Load order … … 76 76 add_action( 'widgets_init', create_function( '', 'return register_widget("BBP_Replies_Widget");' ) ); 77 77 78 // Template - Head, foot, errors and notices 79 add_action( 'wp_head', 'bbp_head' ); 80 add_filter( 'wp_title', 'bbp_title', 10, 3 ); 81 add_action( 'wp_footer', 'bbp_footer' ); 82 add_action( 'bbp_template_notices', 'bbp_error_messages' ); 83 add_action( 'bbp_template_notices', 'bbp_topic_notices' ); 78 // Template - Head, foot, errors and messages 79 add_action( 'wp_head', 'bbp_head' ); 80 add_filter( 'wp_title', 'bbp_title', 10, 3 ); 81 add_action( 'wp_footer', 'bbp_footer' ); 82 add_action( 'bbp_loaded', 'bbp_login_notices' ); 83 add_action( 'bbp_head', 'bbp_topic_notices' ); 84 add_action( 'bbp_template_notices', 'bbp_template_notices' ); 84 85 85 86 // Add to body class … … 311 312 312 313 /** 313 * On multiblog installations you must first allow themes to be activated and show314 * up on the theme selection screen. This function will let the bbPress bundled315 * themes show up and bypass this step.314 * On multiblog installations you must first allow themes to be activated and 315 * show up on the theme selection screen. This function will let the bbPress 316 * bundled themes show up and bypass this step. 316 317 * 317 318 * @since bbPress (r2944) 318 319 * 319 * @uses is_super_admin() 320 * @uses apply_filters() 320 * @uses is_super_admin() To check if the user is site admin 321 * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list 321 322 */ 322 323 function bbp_allowed_themes( $themes ) {
Note: See TracChangeset
for help on using the changeset viewer.