wpseek.com
A WordPress-centric search engine for devs and theme authors
graceful_fail is deprecated since version 3.0.0!
Alternative: wp_die()
Alternative: wp_die()
graceful_fail › WordPress Function
Since
Deprecated3.0.0
› graceful_fail ( $message )
See: |
|
Defined at: |
|
Codex: | |
Change Log: |
|
Deprecated functionality to gracefully fail.
Related Functions: rel_canonical, rest_api_default_filters, get_attached_file, __return_false, force_ssl_admin
Source
function graceful_fail( $message ) { _deprecated_function( __FUNCTION__, '3.0.0', 'wp_die()' ); $message = apply_filters( 'graceful_fail', $message ); $message_template = apply_filters( 'graceful_fail_template', '<!DOCTYPE html> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Error!</title> <style type="text/css"> img { border: 0; }