comment_footer_die( string $msg )

Display error message at bottom of comments.


Description Description


Parameters Parameters

$msg

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


Top ↑

Source 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;
}

Top ↑

User Contributed Notes User Contributed Notes

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