Forum Replies Created

Viewing 1 replies (of 1 total)
  • aperture_2

    (@aperture_2)

    wp-postratings.php

    From line 178

    ### Function: Display Ratings Results
    function the_ratings_results($post_id, $new_user = 0, $new_score = 0, $new_average = 0, $type = 0) {
    	if($new_user == 0 && $new_score == 0 && $new_average == 0) {
    		$post_ratings_data = null;
    	} else {
    		$post_ratings_data = new stdClass();
    		$post_ratings_data->ratings_users = $new_user;
    		$post_ratings_data->ratings_score = $new_score;
    		$post_ratings_data->ratings_average = $new_average;
    	}
    	// Display The Contents

    Easy ??

Viewing 1 replies (of 1 total)