On this page
do_action( 'deprecated_constructor_run', string $class, string $version, string $parent_class )
Fires when a deprecated constructor is called.
Parameters
$classstring-
The class containing the deprecated constructor.
$versionstring-
The version of WordPress that deprecated the function.
$parent_classstring-
The parent class calling the deprecated constructor.
Source
File: wp-includes/functions.php. View all references
do_action( 'deprecated_constructor_run', $class, $version, $parent_class );
Related
Used By
| Used By | Description |
|---|---|
| _deprecated_constructor() wp-includes/functions.php | Marks a constructor as deprecated and informs when it has been used. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_constructor_run