wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



deprecated_constructor_trigger_error › Filtr WordPress Hooks

Od4.3.0
Przestarzałyn/a
› apply_filters( 'deprecated_constructor_trigger_error', true )
Parametry:
  • () trigger Whether to trigger the error for deprecated functions. Default true.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether to trigger an error for deprecated functions.

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




Źródło

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