comment_footer_die()WP 2.5.0

Displays error message at bottom of comments.

No Hooks.

Returns

null. Nothing (null).

Usage

comment_footer_die( $msg );
$msg(string) (required)
Error Message. Assumed to contain HTML and be sanitized.

Changelog

Since 2.5.0 Introduced.

comment_footer_die() code WP 7.0

function comment_footer_die( $msg ) {
	echo "<div class='wrap'><p>$msg</p></div>";
	require_once ABSPATH . 'wp-admin/admin-footer.php';
	die;
}