graceful_fail_template хук-фильтрWP 1.0

Использование

add_filter( 'graceful_fail_template', 'wp_kama_graceful_fail_template_filter' );

/**
 * Function for `graceful_fail_template` filter-hook.
 * 
 * @param  $html 
 *
 * @return 
 */
function wp_kama_graceful_fail_template_filter( $html ){

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

Где вызывается хук

graceful_fail()
graceful_fail_template
wp-includes/ms-deprecated.php 92-115
$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;
}
body {
line-height: 1.6em; font-family: Georgia, serif; width: 390px; margin: auto;
text-align: center;
}
.message {
font-size: 22px;
width: 350px;
margin: auto;
}
</style>
</head>
<body>
<p class="message">%s</p>
</body>
</html>' );

Где используется хук в WordPress

Использование не найдено.