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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Wpdiscuz Rating Schema Filter

2 Posts
2 Users
0 Reactions
1,052 Views
Posts: 3
Topic starter
(@sreekanto)
Active Member
Joined: 4 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: