Support Team
posted this
11 September 2020
Try adding this code to the end of the "function.php" of your theme :
function wp51082_restore_empty_comment_type_on_frontend( $comment ) {
if ( ! is_admin() && 'comment' === $comment->comment_type ) {
$comment->comment_type = '';
}
return $comment;
}
add_filter( 'get_comment', 'wp51082_restore_empty_comment_type_on_frontend' );
Gina
Try adding this code to the end of the "function.php" of your theme :
function wp51082_restore_empty_comment_type_on_frontend( $comment ) {
if ( ! is_admin() && 'comment' === $comment->comment_type ) {
$comment->comment_type = '';
}
return $comment;
}
add_filter( 'get_comment', 'wp51082_restore_empty_comment_type_on_frontend' );
Gina