[theme-reviewers] Function calls
Ulrich Pogson
grapplerulrich at gmail.com
Thu Jul 17 19:34:24 UTC 2014
Hey.
Chip has mentioned this a few times:
"Function calls in functions.php must be placed inside callbacks and hooked
into appropriate actions (such as after_setup_theme for Theme setup
functions, or widgets_init for Widgets/dynamic sidebar functions)"
I think I understand why this is best practice but is there an post/article
explaining why it is best practice so that I can share with others.
Also is this mentioned somewhere in the guidelines.
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140717/291600e7/attachment.html>
More information about the theme-reviewers
mailing list