Changes between Version 1 and Version 2 of Ticket #20509, comment 26
- Timestamp:
- 04/25/12 12:32:00 (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20509, comment 26
v1 v2 3 3 4 4 While this will probably be completely different, from experience with BuddyPress (as JJJ mentioned, this idea is somewhat inspired by their plugins.php) not all plugin developers will add additional possible template names (i've seen afew BuddyPress plugins that won't check much further than plugins.php and without filtering (or using conditionals) it's impossible to give it a different look) 5 6 Using your example they will do: 7 {{{ 8 add_action( 'generic_content', function() { 9 echo '<h1>My Plugin</h1>'; 10 echo 'my content'; 11 } 12 }}}
