0, 4 => 0, 3 => 0, 2 => 0, 1 => 0, ]; $average_stats = []; if ( $features ) { foreach ( $features as $feature_slug => $feature_title ) { $average_stats[ $feature_slug ] = '0.00'; } } $count = $object->get_rating_counts(); $counts = $object->get_rating_count_stats() ? $object->get_rating_count_stats() : $counts; $average = $object->get_average_rating(); $average_stats = $object->get_rating_average_stats() ? $object->get_rating_average_stats() : $average_stats; ?>
' . '
', ], 'label_submit' => esc_html__( 'Submit', 'opalestate-pro' ), 'logged_in_as' => '', 'comment_field' => '', ]; if ( $features ) { $feature_inputs = ''; foreach ( $features as $feature_slug => $feature_title ) { $feature_inputs .= ''; } $comment_form['comment_field'] = $feature_inputs; } else { $comment_form['comment_field'] = ''; } $comment_form['comment_field'] .= ''; comment_form( apply_filters( 'opalestate_property_review_comment_form_args', $comment_form ) ); ?>
get_average_rating() ? $object->get_average_rating() : '0.00' ); ?>
get_review_count() ), 'review numbers', 'opalestate-pro' ), number_format_i18n( absint( $object->get_review_count() ) ) ); ?>
'opalestate_comments' ] ) ); ?>
1 && get_option( 'page_comments' ) ) : echo ''; endif; ?>