do_action( 'deprecated_hook_run', string $hook , string $replacement , string $version , string $message )
Fires when a deprecated hook is called.
Parameters
- $hook
-
The hook that was called.
- $replacement
-
The hook that should be used as a replacement.
- $version
-
The version of ClassicPress or WordPress that deprecated the argument used.
- $message
-
A message regarding the change.
Source
Changelog
Version | Description |
---|---|
WP-4.6.0 | Introduced. |