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



doing_it_wrong_trigger_error › WordPress Filter Hooks

Da5.1.0
Deprecaton/a
› apply_filters( 'doing_it_wrong_trigger_error', true, $function_name, $message, $version )
Parametri: (4)
  • () trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
    Richiesto: Sì
  • () function_name The function that was called.
    Richiesto: Sì
  • () message A message explaining what has been done incorrectly.
    Richiesto: Sì
  • () version The version of WordPress where the message was added.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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