Uma área de pesquisa sobre o WordPress para devs e autores do tema



deprecated_constructor_run ›

Desde4.5.0
Obsoleton/a
do_action( 'deprecated_constructor_run', $class, $version, $parent_class )
Parâmetros: (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
Definido em:
Codex:

Fires when a deprecated constructor is called.





Fonte

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