wpseek.com
A WordPress-centric search engine for devs and theme authors



comment_footer_die › WordPress Function

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:

Displays error message at bottom of comments.



Source

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