A WordPress-centric search engine for devs and theme authors



comment_footer_die ›

Sincen/a
Deprecatedn/a
comment_footer_die ( $msg )
Parameters:
  • (string) $msg Error Message. Assumed to contain HTML and be sanitized.
    Required: Yes
Defined at:
Codex:

Display error message at bottom of comments.



Source

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