comment_footer_die()WP 1.0

Displays error message at bottom of comments.

No Hooks.

Return

null. Nothing (null).

Usage

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

comment_footer_die() code WP 6.6.2

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