do_action( 'deprecated_class_run', string $class_name , string $replacement , string $version )
Fires when a deprecated class is called.
Parameters
-
$class_name
string -
The name of the class being instantiated.
-
$replacement
string -
The class or function that should have been called.
-
$version
string -
The version of WordPress that deprecated the class.
Source
File: wp-includes/functions.php
.
View all references
do_action( 'deprecated_class_run', $class_name, $replacement, $version );
Changelog
Version | Description |
---|---|
6.4.0 | Introduced. |