Action Handler

Add a handler to execute in response to actions:

  1. Create a plugin
  2. In the main PHP code, execute add_action calls:
    •     add_action(‘wp_head’,my_function());
      • The first parameter is the action that the code will respond to
      • The second should be your function.
  3. Possible actions:
    1. https://codex.wordpress.org/Plugin_API/Action_Reference
This is Jesse's Header