do_action( ‘deprecated_function_run’, string $function_name, string $replacement, string $version )

In this article

Fires when a deprecated function is called.

Parameters

$function_namestring
The function that was called.
$replacementstring
The function that should have been called.
$versionstring
The version of WordPress that deprecated the function.

Source

do_action( 'deprecated_function_run', $function_name, $replacement, $version );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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