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
do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message );
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.