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

WordPress Trac noreply at wordpress.org
Sat Jun 24 17:19:02 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:
-----------------------------+------------------------------

Comment (by rinkuyadav999):

 Hi @joyously

 get_theme_file_uri function does not do what i need. and load_template
 does that task
 https://developer.wordpress.org/reference/functions/load_template/ :)

 wp_require_parent_theme_file will be more user friendly and dedicated if
 it adds.

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


More information about the wp-trac mailing list