This hook can be used for changing the rating schema.
Changelog
Added in version 7.0.2
Parameters
1. $schema (type: string) – the rating schema that should be displayed
2. $key (type: string) – This value should be the rating key if the rating is created by a custom field. The value will be a post if it’s an article rating.
3. $postId (type: int) – the current post ID
Usage
add_filter("wpdiscuz_rating_schema", function ($schema, $key, $postId) { return get_my_schema_for_post($postId, $key); }, 10, 3);