Maintainable Ways to Set Up WordPress Hooks
What Are Hooks? In WordPress, we’re encouraged to use their hooks and filters. So what are they? Basically, they allow one to plug custom functionality into WordPress at predefined points of execution. I’m sure you’ve seen them; ever dealt with add_action(“init”, ‘setup_theme_plugins’); ? That’s a way of telling WordPress, “When you get to the ‘init’ […]