It's being used for both questions about a theme's functions.php file, as well as for generic usage regarding anything to do with PHP functions. This should be separated out into two tags, functions and functions.php, indicating the difference. Questions revolving about theme's functions.php files come up often enough to deserve their own tag.

Note that the function synonym should probably point to the functions tag.

  • If it would be only that one...
    – kaiser
    Oct 4, 2011 at 21:21
  • Great to have you here as an active/regular community member Otto.. :)
    – t31os
    Dec 10, 2011 at 18:28

1 Answer 1


does point to .

points to at moment. It was created by hakre and I don't remember if I participated or saw the reasoning for it at the time.

I am not sure the functions tag wanted in a sense of PHP functions. Everything about PHP takes functions. You can't have code without functions.

Also I am not sure that functions.php is tag-worthy. There isn't much to it itself. Of course there are plenty things that go there, but file itself is not that complicated of a concept or source of many issues.

I am not against current setup but I see it has a weak spots in logic. Open to discussion and suggestions.

  • agreed, a [functions] tag referring to PHP functions is spectacularly useless.. probably best to clarify in the tag wiki or rename the tag to it clearer. Oct 7, 2011 at 2:08
  • @Jeff Atwood after some more thought functions does make sense as "question about WordPress functions". Functions choice and usage in context of WordPress-specific is important (if not essential) topic. But then I don't see how to cleanly decouple these from functions.php, both are mashed together under functions thanks to synonym.
    – Rarst
    Oct 7, 2011 at 6:11
  • I think there are (some) questions that can benefit from a functions.php tag: Between functions.php, widgets and plugins, which is loaded first?, How often is functions.php loaded?, ... functions when talking about WordPress-specific functions might be better if called wp-functions. Currently I suggest breaking the synonym from functions.php to functions, and start using wp-functions. Those with courage can clean up the old functions tags.
    – Jan Fabry
    Oct 7, 2011 at 7:12
  • @Jan Fabry I think wp-functions is confusing because of wp-* folders and wp-admin commonly used to describe admin area. It looks like core concept, but it wouldn't be.
    – Rarst
    Oct 7, 2011 at 8:07
  • I'd be perfectly happy to ditch [functions] entirely and make [functions.php] the main tag. The functions.php file is an important part of themes, and questions surrounding it are legit. "functions" in terms of PHP functions is a pretty darned useless tag to have.
    – Otto
    Oct 7, 2011 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .