Remove action from plugin on other plugin
There are two things that confuse people when trying to remove a hook: The remove_action() or remove_filter() calls must take place after the add_action() or add_filter() calls, and before the hook is actually fired. This means that you must know the hook when the calls were added and when the hook is fired. The remove_action() … Read more