Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.  Action hooks look like this: do_action( "hook_name" ) Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ). Remember, this hook … Weiterlesen →