Add _deprecated_action and _deprecated_filter functions
|Reported by:||chriscct7||Owned by:||chriscct7|
Similar to _deprecated_function, there should exist equivalent functions to deprecate filters and actions with. An example of a place where this could be used in core is #34625.
_deprecated_function is being used for this already in https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-editor.php?rev=36483#L277, but adding new functions would allow for better context in the handling of these scenarios.