gdrts_render_single_thumbs_rating_args_vote_labels
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_single_thumbs_rating_args_vote_labels is used to filter the vote value for display purposes. It has one argument:
- $labels: the array with two values: ‘up’ and ‘down’, by default with values +1 and -1.