Changeset 3173
- Timestamp:
- 05/19/2011 04:15:44 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-hooks.php
r3171 r3173 36 36 add_action( 'generate_rewrite_rules', 'bbp_generate_rewrite_rules', 12 ); 37 37 add_action( 'after_setup_theme', 'bbp_setup_theme_compat', 12 ); 38 add_action( 'template_include', 'bbp_template_include', 10 );39 38 40 39 /** … … 210 209 /** FILTERS *******************************************************************/ 211 210 212 // Feeds 211 /** 212 * Template Compatibility 213 * 214 * If you want to completely bypass this and manage your own custom bbPress 215 * template hierarchy, start here by removing this filter, then look at how 216 * bbp_template_include() works and do something similar. :) 217 */ 218 add_filter( 'template_include', 'bbp_template_include' ); 219 220 /** 221 * Feeds 222 * 223 * bbPress comes with a number of custom RSS2 feeds that get handled outside 224 * the normal scope of feeds that WordPress would normally serve. To do this, 225 * we filter every page request, listen for a feed request, and trap it. 226 */ 213 227 add_filter( 'request', 'bbp_request_feed_trap' ); 214 228
Note: See TracChangeset
for help on using the changeset viewer.