Un motore di ricerca WordPress per sviluppatori e autori di temi



deprecated_constructor_trigger_error ›

Da4.3.0
Deprecaton/a
apply_filters( 'deprecated_constructor_trigger_error', true )
Parametri:
  • (bool) $trigger Whether to trigger the error for deprecated functions. Default true.
    Richiesto:
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 ) ) {