graceful_fail filter-hookWP 3.0.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use wp_die() instead.

Deprecated: 3.0.0 Use wp_die()

Deprecated functionality to gracefully fail.

Usage

add_filter( 'graceful_fail', 'wp_kama_graceful_fail_filter' );

/**
 * Function for `graceful_fail` filter-hook.
 * 
 * @param  $message 
 *
 * @return 
 */
function wp_kama_graceful_fail_filter( $message ){

	// filter...
	return $message;
}
$message
-

Changelog

Since 3.0.0 Introduced.
Deprecated Since 3.0.0 Use wp_die()

Where the hook is called

graceful_fail()
graceful_fail
wp-includes/ms-deprecated.php 91
$message = apply_filters( 'graceful_fail', $message );

Where the hook is used in WordPress

Usage not found.