Closed mandiwise closed 9 years ago
Checkout line 151 in this file: https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/blob/master/plugin-name/trunk/includes/class-plugin-name.php#L151
Wow, facepalm moment. I completely missed that, thanks!
No problem!
Please forgive my ignorance (or perhaps, oversight) but is there an example available of how you would add a basic action/filter within the loader class? The readme mentions "The example code provided shows how to register your hooks with the Loader class" but I'm not completely clear on what/where the example is. I'm assuming there's going to be giant array of hook-related arrays in there somewhere? And there's also a note in public and admin classes about calling instances of them inside the
run()
function...? Thanks for the clarification.