comment_footer_die() │ WP 2.5.0

Displays error message at bottom of comments.

No Hooks.

Returns

never.

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.1.3

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