wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



deprecated_constructor_trigger_error › WordPress Filter Hooks

Da4.3.0
Deprecaton/a
› apply_filters( 'deprecated_constructor_trigger_error', true )
Parametri:
  • () trigger Whether to trigger the error for deprecated functions. Default true.
    Richiesto: Sì
Definito a:
Codex:

Filters whether to trigger an error for deprecated functions.

`WP_DEBUG` must be true in addition to the filter evaluating to true.




Sorgenti

if ( WP_DEBUG && apply_filters( 'deprecated_constructor_trigger_error', true ) ) {