[wp-trac] [WordPress Trac] #21676: Pass a variable to get_template_part()
WordPress Trac
noreply at wordpress.org
Fri Jun 3 01:27:02 UTC 2016
#21676: Pass a variable to get_template_part()
-----------------------------+-------------------------
Reporter: sc0ttkclark | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Template | Version: 3.4.1
Severity: normal | Resolution: maybelater
Keywords: has-patch close | Focuses:
-----------------------------+-------------------------
Comment (by julianm):
I definitely think being able to pass variables to template parts is a
good idea. Would be good to have core functionality for this, be it the
get_template_part() function or a different method.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21676#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list