WordPress开发者和主题制作者的搜索引擎



comment_footer_die ›

Sincen/a
已弃用n/a
comment_footer_die ( $msg )
参数:
  • (string) $msg Error Message. Assumed to contain HTML and be sanitized.
    Required: Yes
定义在:
文档:

Display error message at bottom of comments.



源码

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