On this page
do_action( 'deprecated_hook_run', string $hook, string $replacement, string $version, string $message )
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
File: wp-includes/functions.php. View all references
do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message );
Related
Used By
| Used By | Description |
|---|---|
| _deprecated_hook() wp-includes/functions.php | Marks a deprecated action or filter hook as deprecated and throws a notice. |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_hook_run