示例#1
0
function csr_the_overall_rating($post_id = 0)
{
    echo apply_filters('csr_the_overall_rating', csr_get_overall_rating($post_id));
}
        public static function get_overall_rating_stars()
        {
            $overall_rating = csr_get_overall_rating($comment_id);
            ob_start();
            ?>
        <div class='rateit'data-rateit-value="<?php 
            echo $overall_rating;
            ?>
" data-rateit-ispreset="true" data-rateit-readonly="true"></div>
      <?php 
            $output = ob_get_contents();
            ob_end_clean();
            return $output;
        }