A WordPress-centric search engine for devs and theme authors



wp_die_handler ›

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_die_handler', '_default_wp_die_handler' )
Parameters:
  • (callable) $function Callback function name.
    Required: Yes
Defined at:
Codex:

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





Source

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