How to deprecate a hook used in a plugin?
Firstly, you will need to lave the hook there. Deprecation just signals to developers that they should not use it, and that it will be removed in future. So you’re stuck with it for now. So really deprecation is a communications issue, not really a code issue. One helpful thing WordPress does provide in this … Read more