do_action( ‘deprecated_hook_run’, string $hook, string $replacement, string $version, string $message )

In this article

Fires when a deprecated hook is called.

Parameters

$hookstring
The hook that was called.
$replacementstring
The hook that should be used as a replacement.
$versionstring
The version of WordPress that deprecated the argument used.
$messagestring
A message regarding the change.

Source

do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message );

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.