On this page
do_action( 'deprecated_function_run', string $function, string $replacement, string $version )
Fires when a deprecated function is called.
Parameters
$functionstring-
The function that was called.
$replacementstring-
The function that should have been called.
$versionstring-
The version of WordPress that deprecated the function.
Source
File: wp-includes/functions.php. View all references
do_action( 'deprecated_function_run', $function, $replacement, $version );
Related
Used By
| Used By | Description |
|---|---|
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_function_run