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.
Video
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!
If you joined already, please log in.
Otherwise, here is why you should join the Club.
Useful Links
Function Reference: remove_action https://codex.wordpress.org/Function_Reference/remove_action
Function Reference: remove_all_actions https://codex.wordpress.org/Function_Reference/remove_all_actions
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:
Absolutely!