[wp-trac] [WordPress Trac] #23180: Introduce get_plugin_part

WordPress Trac noreply at wordpress.org
Mon Jan 14 07:51:30 UTC 2013


#23180: Introduce get_plugin_part
-----------------------------+------------------------------
 Reporter:  wonderboymusic   |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  dev-feedback     |
-----------------------------+------------------------------

Comment (by tarasm):

 @kovshenin, @wonderboymusic I originally misread this ticket.

 I don't like the idea of introducing another function(get_plugin_part),
 instead it would be helpful if it was possible for plugin developer to
 register templates from plugin with get_template_part.

 @kovshenin your suggestion requires theme developer to know what filter
 he/she must apply to overwrite plugin's path. This is an extra step that
 could be take care of by get_template_part.

 What do you think?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23180#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list