doing_it_wrong_run
do_action( ‘doing_it_wrong_run’, string $function , string $message , string $version )
动作钩子::当给定的函数被错误使用时触发。
Action Hook: Fires when the given function is being used incorrectly.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$function | (string) | 调用的函数。 |
$message | (string) | 解释错误操作的消息。 |
$version | (string) | 添加邮件的WordPress版本。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-includes/functions.php:5131 | 1 | 0 |
doing_it_wrong_run 为WP2原创文章,链接:https://www.wp2.cn/hook/doing_it_wrong_run/