deprecated_argument_trigger_error
apply_filters( ‘deprecated_argument_trigger_error’, bool $trigger )
筛选器挂钩:筛选是否为不推荐的参数触发错误。
Filter Hook: Filters whether to trigger an error for deprecated arguments.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$trigger | (bool) | 是否为不推荐的参数触发错误。默认为真。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-includes/functions.php:4986 | 1 | 0 |
deprecated_argument_trigger_error 为WP2原创文章,链接:https://www.wp2.cn/hook/deprecated_argument_trigger_error/