[wp-trac] [WordPress Trac] #43597: Modifiy template-loader engine

WordPress Trac noreply at wordpress.org
Wed Mar 21 09:54:16 UTC 2018


#43597: Modifiy template-loader engine
-------------------------+-----------------------------
 Reporter:  chespir      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Hi, I think it would be useful if the functionality of the template-
 loader.php file that determines the template to load were added directly
 to the template_include filter with priority 1, so that it will be
 accessible using a function.
 I have found the need in some projects in which I load the WordPress core
 from an external application, since once the core is loaded, it is
 necessary to include the template_loader.php file and it is not possible
 just to obtain which would be the template to load (and not ley ir load).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43597>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list