WordPress.org

Support

Support » Requests and Feedback » Why doesn't template-loader.php use load_template()?

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

  • 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?

  • The topic ‘Why doesn't template-loader.php use load_template()?’ is closed to new replies.
Skip to toolbar