gdrts_render_list_thumbs_rating_args_classes

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

Filter gdrts_render_list_thumbs_rating_args_classes is used to filter the CSS classes applied to the rating list for Thumbs Rating method templates. This filter has 2 arguments:

  • $classes: an array of CSS classes
  • $render_object: the instance of the render object

It is highly recommended to use this filter to add new classes, not remove existing classes. Removing classes using this filter can cause rating block to break.

0
0
622
Rate this reference

You are not allowed to rate this post.

Leave a Comment