My Courses > CustomizeWoo > Module 5 > Lesson 01: Issues With remove_action()

Issues With remove_action()


add_action() triggers a function attached to a specific hook – remove_action() removes that same function. However, remove_action() doesn’t always work – here’s why.


Please note: English captions are enabled by default (click on “CC” in the video player to disable). Also, you can click on the “gear” icon to manage quality and playback speed. Enjoy!

Sorry, this video is visible to logged in and fully registered students only.
If you already enrolled in this course, please LOG IN
Otherwise, please enroll in the FREE / PRO COURSE
For any other queries, feel free to get in touch

Useful Links

Function Reference: remove_action

Function Reference: remove_all_actions

2 thoughts on “Issues With remove_action()

  1. So to turn off a sidebar I am currently hiding with CSS ‘display:none’
    I should add a child theme and then add to the child them something like:

    		 *  removed 6-2020 by Sam Crowe
                   remove_action( 'woocommerce_sidebar' );
    1. Absolutely!

Questions? Feedback? Support? Leave your comment now!

If you are writing code, please wrap it between: [php]code_here[/php]

Your email address will not be published. Required fields are marked *