WordPress开发者和主题制作者的搜索引擎



wp_php_error_args ›

Since5.2.0
已弃用n/a
apply_filters( 'wp_php_error_args', $args, $error )
参数: (2)
  • (array) $args Associative array of arguments passed to `wp_die()`. By default these contain a 'response' key, and optionally 'link_url' and 'link_text' keys.
    Required: Yes
  • (array) $error Error information retrieved from `error_get_last()`.
    Required: Yes
定义在:
文档:

Filters the arguments passed to {@see wp_die()} for the default PHP error template.





源码

$args = apply_filters( 'wp_php_error_args', $args, $error );