Remove an action hook within a Class
Since you are not specifying a priority to your actions, they will be executed in the order they are encountered. So your remove_action may very well be executed after the actions tied to the same hook have already been executed. You could solve this by attaching a higher priority to the action that does the … Read more