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



wp_die_handler ›

Since3.0.0
已弃用n/a
apply_filters( 'wp_die_handler', '_default_wp_die_handler' )
参数:
  • (callable) $function Callback function name.
    Required: Yes
定义在:
文档:

Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.





源码

$function = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );