true], "objects"); $commentPostTypes = array_filter($allPostTypes, function ($pt) { return post_type_supports($pt->name, "comments"); }); $defaultExcludedTaxonomies = [ 'post_format', 'product_visibility', 'product_shipping_class', 'pos_product_visibility', ]; ?>
[wpdiscuz_reviews]'); ?>

  • post_id
  • number default: 10
  • author__in
  • orderby default: rating
  • order default: desc
  • show_avatar default: true
  • avatar_size default: 40
[wpdiscuz_reviews_top_rated]'); ?>

  • number default: 5
  • post_type
  • min_rating default: 0
  • min_reviews default: 1
  • show_rating default: true
  • show_count default: true
  • show_thumbnail default: true
  • show_date default: false
  • show_excerpt default: false
  • order default: desc
[wpdiscuz_reviews_avg]'); ?>

  • post_id
  • mode
  • show_count
  • min_reviews
  • singular_text
  • plural_text
  • star_size

<?php esc_attr_e('Star rating live preview', 'wpdiscuz'); ?>

1"/>
2"/>
3"/>
4"/>
5"/>

1"/>
2"/>
3"/>
4"/>
5"/>
6"/>
7"/>
8"/>
9"/>
10"/>

<?php esc_attr_e('Average rating live preview', 'wpdiscuz'); ?>

$info) { ?>

labels->singular_name); ?> name); ?>
name, "objects"); foreach ($defaultExcludedTaxonomies as $excludedTaxonomy) { unset($taxonomies[$excludedTaxonomy]); } if (empty($taxonomies)) { continue; } $taxonomiesWithTerms = array_filter($taxonomies, function ($taxonomy) { $terms = get_terms(["taxonomy" => $taxonomy->name, "hide_empty" => true, "number" => 1]); return !empty($terms) && !is_wp_error($terms); }); if (empty($taxonomiesWithTerms)) { continue; } ?>

labels->singular_name)); ?>

label)); ?>

%s in these %s accept reviews.", "wpdiscuz"), esc_html($postType->labels->singular_name), esc_html(strtolower($taxonomy->label))); ?>

%s with any of these %s are excluded from reviews.", "wpdiscuz"), esc_html($postType->labels->singular_name), esc_html(strtolower($taxonomy->label))); ?>

"Article", "page" => "WebPage", "product" => "Product"]; foreach ($commentPostTypes as $postType) { ?>
labels->singular_name); ?> name); ?> " list="wr-jsonld-schema-types" placeholder="" class="wr-pro-schema-input"/>