Ticket #1524: filter-template_include.diff
File filter-template_include.diff, 628 bytes (added by , 13 years ago) |
---|
-
bbp-core-hooks.php
35 35 add_action( 'init', 'bbp_init', 10 ); 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 );38 add_filter( 'template_include', 'bbp_template_include', 10 ); 39 39 40 40 /** 41 41 * bbp_loaded - Attached to 'plugins_loaded' above