comment_footer_die( string $msg )

Display error message at bottom of comments.


Parameters

$msg

(string) (Required) Error Message. Assumed to contain HTML and be sanitized.


Source

File: wp-admin/includes/comment.php

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