Add User to LearnDash Group When Orders a WooCommerce Product

LearnDash and WordPress Groups

I love the LearnDash LMS for WordPress.  I use it over at javascriptforwp.com and not only is it powerful out of the box and with plugins, but it's hooks allow for even more. One thing LearnDash cannot do out of the box is sell access to Groups via WooCommerce. A Group in LearnDash, amongst other things, let's you assign … Continue reading Add User to LearnDash Group When Orders a WooCommerce Product

The Difference Between WordPress Filters and Actions

Thanks to Otto for making the difference between actions and filters clear: Filters filter things. Actions do not. And this is critically important when you’re writing a filter. A filter function should never, ever, have unexpected side effects. There, you go, pretty straightforward!  He actually makes some really good, concise points about the difference between … Continue reading The Difference Between WordPress Filters and Actions