The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Wpdiscuz Rating Sch...
 
Share:
Notifications
Clear all

Wpdiscuz Rating Schema Filter

2 Posts
2 Users
0 Reactions
907 Views
Posts: 3
Topic starter
(@sreekanto)
New Member
Joined: 3 years ago

When I filter 'wpdiscuz_rating_schema' in the theme's functions.php. How I will get the value of '$average' & '$count'.

image
image

 

1 Reply
Asti
Posts: 7673
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@sreekanto,

you should get the values from the database.

Those are stored in the wp_postmeta table where the keys are:

  • wpdiscuz_post_rating - the post rating
  • wpdiscuz_post_rating_count - the count of the rate

The wp_ is just a prefix in your case it can differ. 

Reply
Share: