Why doesn't template-loader.php use load_template()? (1 post)

  1. elyobo
    Posted 5 years ago #

    I didn't want to add a bug for this, as I assume that there is a reason for it, but why is it that the template loader doesn't use the laod_template function?

    I'm trying to get a plugin to populate variables so that they are available in templates for the template people. In most of the templates I can inject something into $wp_query->query_vars, which gets extract()ed in load_template, but there is no such useful system in the template loader.

    Is there some particular reason why this is not done?

Topic Closed

This topic has been closed to new replies.

About this Topic