• I know what template tags do & how to use them.

    But where is the actual code that tells a template tag what to do?

    i.e. wp_list_categories($args) – spits out your category list how ever you define it in the $args.

    But where is “wp_list_categories” defined?

    Thanks,
    JH

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    wp_list_categories is defined in the category-template.php file, however that’s really not your question, is it?

    All the template tags are defined in various places. Where is rather unimportant, as you really should not be editing them in the first place. That’s core code, and you want to avoid messing with core code. Reading it is fine, modifying it causes problems down the line (when you want to upgrade and such).

Viewing 1 replies (of 1 total)
  • The topic ‘Where is the actual code for the Template tags?’ is closed to new replies.