Advertisement
geminilabs

Untitled

Mar 22nd, 2023
728
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. add_filter('site-reviews/review/build/after', function ($tags, $review) {
  2.     if (empty($review->custom_rating)) {
  3.         $tags['custom_rating'] = '';
  4.     }
  5.     return $tags;
  6. }, 20, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement