[theme-reviewers] child theme functions.php question

Otto otto at ottodestruct.com
Thu Feb 20 15:10:05 UTC 2014


On Wed, Feb 19, 2014 at 10:43 PM, emin ozlem <eminozlem at gmail.com> wrote:

> PS: I still wonder why every example specifically does:
> add_action()
> actual_action() {
> instead of other way around.
>

Because it keeps the action name and the function that it's hooking closer
together in the code and thus visually easier to understand.

-Otto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140220/a61b2b1e/attachment.html>


More information about the theme-reviewers mailing list