do_action( 'deprecated_constructor_run', string $class , string $version , string $parent_class )
Fires when a deprecated constructor is called.
Parameters
- $class
-
The class containing the deprecated constructor.
- $version
-
The version of ClassicPress or WordPress that deprecated the function.
- $parent_class
-
The parent class calling the deprecated constructor.
Source
Changelog
Version | Description |
---|---|
WP-4.5.0 | Added the $parent_class parameter. |
WP-4.3.0 | Introduced. |