A WordPress-centric search engine for devs and theme authors



doing_it_wrong_trigger_error ›

Since3.1.0
Deprecatedn/a
apply_filters( 'doing_it_wrong_trigger_error', true )
Parameters:
  • (bool) $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
    Required: Yes
Defined at:
Codex:

Filters whether to trigger an error for _doing_it_wrong() calls.





Source

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