doing_it_wrong_trigger_error

最后更新于:2021-11-26 08:14:26

apply_filters( ‘doing_it_wrong_trigger_error’, bool $trigger, string $function, string $message, string $version )

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

参数

$trigger

(bool)
Whether to trigger the error for _doing_it_wrong() calls. Default true.

$function

(string)
The function that was called.

$message

(string)
A message explaining what has been done incorrectly.

$version

(string)
The version of GeChiUI where the message was added.

源文件

文件: gc-includes/functions.php

View on Trac