do_action( 'deprecated_hook_run', string $hook, string $replacement, string $version, string $message )
Fires when a deprecated hook is called.
Parameters
- $hook
-
(string) The hook that was called.
- $replacement
-
(string) The hook that should be used as a replacement.
- $version
-
(string) The version of WordPress that deprecated the argument used.
- $message
-
(string) A message regarding the change.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_hook_run