Advertisement
geminilabs

[site-reviews] Single star in rating summary

Nov 25th, 2024 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. add_filter('site-reviews/summary/value/stars', function ($value) {
  2.     $value = preg_replace('/<span(.+)span>/', '<span class="glsr-star glsr-star-full"></span>', $value);
  3.     return $value;
  4. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement