A WordPress-centric search engine for devs and theme authors



deprecated_constructor_run ›

Since4.5.0
Deprecatedn/a
do_action( 'deprecated_constructor_run', $class, $version, $parent_class )
Parameters: (3)
  • (string) $class The class containing the deprecated constructor.
    Required: Yes
  • (string) $version The version of WordPress that deprecated the function.
    Required: Yes
  • (string) $parent_class The parent class calling the deprecated constructor.
    Required: Yes
Defined at:
Codex:

Fires when a deprecated constructor is called.





Source

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