Hook in Wordpess

Hooks are provided by WordPress to allow your plugin to 'hook into' the rest of WordPress; that is, to call functions in your plugin at specific times, and thereby set your plugin in motion. There are two kinds of hooks:


  1. Action (codex Action Reference)
  2. Filter (codex Filter Reference)