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!
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 join the Business Bloomer Club
For any other queries, feel free to get in touch
If you already enrolled in this course, please LOG IN
Otherwise, please join the Business Bloomer Club
For any other queries, feel free to get in touch
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!