[ad_1]
Hi, I want to hide the date on which the review was provided by the client. It should not be displayed in the review page.
Previously I have edited the functions.php file to change the author field to bold italic by this way; and it is working –
add_filter('site-reviews/review/build/tag/author', function ($field) {
return "---".''.$field.''.PHP_EOL;
});
So I did the same for the date field –
add_filter('site-reviews/review/build/tag/date', function ($field) {
return PHP_EOL;
});
But it’s not working!
How can I do the same for the date field?
Thanks