Actions vs filters in WordPress
WordPress offers two types of hooks, action hooks (triggers actions) and filter hooks (replaces or modifies values).
WordPress offers two types of hooks, action hooks (triggers actions) and filter hooks (replaces or modifies values).