Skip to main content
2 events
when toggle format what by license comment
May 4, 2015 at 10:39 comment added kovshenin It works not because PHP parses the whole document, but because call_user_func_array() is (most likely) called after your function definition when running do_action. So you can define the hooked function anywhere up to that point.
Sep 26, 2012 at 17:28 history answered OriginalEXE CC BY-SA 3.0