Changeset 6780 for trunk/bp-core/bp-core-filters.php
- Timestamp:
- 02/10/2013 11:57:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r6589 r6780 59 59 * bp_template_include() works and do something similar. :) 60 60 */ 61 add_filter( 'bp_template_include', 'bp_template_include_theme_supports', 2, 1 ); 62 add_filter( 'bp_template_include', 'bp_template_include_theme_compat', 4, 2 ); 63 64 // Run all template parts through additional template locations 65 add_filter( 'bp_locate_template', 'bp_add_template_locations' ); 66 add_filter( 'bp_get_template_part', 'bp_add_template_locations' ); 61 add_filter( 'bp_template_include', 'bp_template_include_theme_supports', 2, 1 ); 62 add_filter( 'bp_template_include', 'bp_template_include_theme_compat', 4, 2 ); 63 64 // Filter BuddyPress template locations 65 add_filter( 'bp_get_template_stack', 'bp_add_template_locations' ); 67 66 68 67 // Turn comments off for BuddyPress pages
Note: See TracChangeset
for help on using the changeset viewer.