comment_footer_die( string $msg )

In this article

Displays error message at bottom of comments.

Parameters

$msgstringrequired
Error Message. Assumed to contain HTML and be sanitized.

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.