[buddypress-trac] [BuddyPress] #4855: Method to override a plugins use of plugins.php or add filters to bp_template_title and bp_template_content

buddypress-trac noreply at wordpress.org
Mon Mar 4 23:42:11 UTC 2013


#4855: Method to override a plugins use of plugins.php or add filters to
bp_template_title and bp_template_content
-------------------------------------------+-----------------------------
 Reporter:  modemlooper                    |       Owner:
     Type:  enhancement                    |      Status:  reopened
 Priority:  normal                         |   Milestone:  Future Release
Component:  Core                           |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  2nd-opinion reporter-feedback  |
-------------------------------------------+-----------------------------

Comment (by modemlooper):

 It's a template safety net to use a sub template and then switch that out
 instead of plugins.php. You've seen where header.php has
 <body>
     <div id="conten">
 , right?

 What if header.php got swapped out by a plugin and then id=content was
 missing because the plugin has no way of knowing the mark up. That's on
 example that I'm dealing with.

 I can not get remove_action( 'bp_template_content',
 'bbp_member_forums_topics_content' ); to remove the bbPress content. If
 that worked it would solve half the problem of needing a sub template.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4855#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list