deprecated_function_run WordPress Action Hook
The deprecated_function_run hook is no longer needed as of WordPress 4.6 and has been replaced by the new hook, deprecated_function_trigger.
do_action( 'deprecated_function_run', string $function , string $replacement , string $version ) #
Fires when a deprecated function is called.
Parameters
- $function
(string)The function that was called.
- $replacement
(string)The function that should have been called.
- $version
(string)The version of WordPress that deprecated the function.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |