comment_footer_die( string $msg )

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

View all references

function comment_footer_die( $msg ) {

echo "<div class="wrap"><p>$msg</p></div>";

require_once ABSPATH . "wp-admin/admin-footer.php";

die;

}

Leave a Reply

Your email address will not be published. Required fields are marked *