Advertisement
geminilabs

site-reviews/custom/value/performance

Jan 26th, 2023 (edited)
680
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/custom/value/performance', function ($value, $tag) {
  2.     if (isset($tag->with['options'][$value])) {
  3.         return $tag->with['options'][$value];
  4.     }
  5.     return $value;
  6. }, 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement