Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #4767, comment 1


Ignore:
Timestamp:
01/14/2013 07:06:56 PM (12 years ago)
Author:
johnjamesjacoby
Comment:

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.
     1A 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.
    22
    33The method is not unlike what it was before, and similar to the template loader.
    44
    5 * Conditionally hook to the_content.
     5* Conditionally hook to bp_template_content.
    66* Check for some conditions to make sure they match.
    77* If they match, pull in a template part, include a file, etc...