Changes between Initial Version and Version 1 of Ticket #4767, comment 1
- Timestamp:
- 01/14/2013 07:06:56 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4767, comment 1
initial v1 1 A good question. Right now, when the_content gets called, BuddyPress's theme compat filter should not be hooked in, or at least fail. Consider also that plugin.php is a specific template that should only get included when no other BuddyPress core template is requested, which is to say that some other plugin manually requested it.1 A good question. Right now, when bp_template_content gets called, BuddyPress's theme compat filter should not be hooked in, or at least fail. Consider also that plugin.php is a specific template that should only get included when no other BuddyPress core template is requested, which is to say that some other plugin manually requested it. 2 2 3 3 The method is not unlike what it was before, and similar to the template loader. 4 4 5 * Conditionally hook to the_content.5 * Conditionally hook to bp_template_content. 6 6 * Check for some conditions to make sure they match. 7 7 * If they match, pull in a template part, include a file, etc...