comment_footer_die

Advertisement

Summery Summery

Display error message at bottom of comments.

Syntax Syntax

comment_footer_die( string $msg )

Parameters Parameters

$msg

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

Source Source

File: wp-admin/includes/comment.php

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

Advertisement

Advertisement

Leave a Reply