Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('site-reviews/review/wrap/title', function ($value, $rawValue, $tag) {
- if (empty($tag->review->title)) {
- return '';
- }
- return $value;
- }, 10, 3);
- // OR THIS
- add_filter('site-reviews/review/value/title', function ($value) {
- if ($value === __('No Title', 'site-reviews')) {
- $value = '';
- }
- return $value;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement