[wp-trac] [WordPress Trac] #41152: New Function to Require a file

WordPress Trac noreply at wordpress.org
Sat Jun 24 15:48:37 UTC 2017


#41152: New Function to Require a file
-----------------------------+------------------------------
 Reporter:  rinkuyadav999    |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * version:  trunk =>


Comment:

 Hi @rinkuyadav999, thank you for the ticket!

 This is already possible with
 [https://developer.wordpress.org/reference/functions/get_template_part/
 get_template_part()], what's the benefit of the new function?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41152#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list