comment_footer_die

函数


comment_footer_die ( $msg )
参数
  • (string)
    $msg
    Error Message. Assumed to contain HTML and be sanitized.
    Required:
定义位置
  • wp-admin/includes/comment.php
    , line 215
引入
弃用

在评论的底部显示错误信息。

function comment_footer_die( $msg ) {
	echo "

$msg

"; require_once ABSPATH . 'wp-admin/admin-footer.php'; die; }