do_action( 'deprecated_constructor_run', string $class_name, string $version, string $parent_class )

Fires when a deprecated constructor is called.


Parameters

$class_name string
The class containing the deprecated constructor.
$version string
The version of WordPress that deprecated the function.
$parent_class string
The parent class calling the deprecated constructor.

Top ↑

Source

File: wp-includes/functions.php. View all references

do_action( 'deprecated_constructor_run', $class_name, $version, $parent_class );


Top ↑

Changelog

Changelog
Version Description
4.5.0 Added the $parent_class parameter.
4.3.0 Introduced.

Top ↑

User Contributed Notes

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