do_action( 'deprecated_function_run', string $function , string $replacement , string $version )
Fires when a deprecated function is called.
Parameters
- $function
-
The function that was called.
- $replacement
-
The function that should have been called.
- $version
-
The version of ClassicPress or WordPress that deprecated the function.
Source
Changelog
Version | Description |
---|---|
WP-2.5.0 | Introduced. |