DevinVinson / WordPress-Plugin-Boilerplate

[WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.
http://wppb.io
7.67k stars 2.25k forks source link

How do you properly add_shortcode without hooking it up to 'init' ? #328

Closed vishalbasnet23 closed 9 years ago

DevinVinson commented 9 years ago

Really you could add a function to run at any time if you wanted it not to go through the loader class like here: https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/issues/262#issuecomment-89438555

vishalbasnet23 commented 9 years ago

Thank you for the reply Devin. Really appreciated the quick response.