Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



doing_it_wrong_trigger_error ›

Seit5.1.0
Veraltetn/v
apply_filters( 'doing_it_wrong_trigger_error', true, $function, $message, $version )
Parameter: (4)
  • (bool) $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
    Erforderlich: Ja
  • (string) $function The function that was called.
    Erforderlich: Ja
  • (string) $message A message explaining what has been done incorrectly.
    Erforderlich: Ja
  • (string) $version The version of WordPress where the message was added.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true, $function, $message, $version ) ) {