do_action( ‘deprecated_class_run’, string $class_name, string $replacement, string $version )

In this article

Fires when a deprecated class is called.

Parameters

$class_namestring
The name of the class being instantiated.
$replacementstring
The class or function that should have been called.
$versionstring
The version of WordPress that deprecated the class.

Source

do_action( 'deprecated_class_run', $class_name, $replacement, $version );

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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