gdrts_ur_show_reviews_overall()

gdrts_ur_show_reviews_overall($post_id = 0, $post_type = '')

Description

Function gdrts_ur_show_reviews_overall is used to display overall reviews block for current or custom post. The function can be called for a custom post by specifying the post ID and post type, or without these, and the plugin will try to get current post/page ID and type.

Examples

For current post/page:

<?php gdrts_ur_show_reviews_overall(); ?>

For custom post/page, provide $post_id and $post_type:

<?php gdrts_ur_show_reviews_overall($post_id, $post_type); ?>

This function can be called only for post types that are enabled for user reviews.

0
0
129
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply