daily pastebin goal
68%
SHARE
TWEET

WooCommerce - Hide review author's name

lorro Aug 7th, 2017 (edited) 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   // WooCommerce - Hide review author's name  
  3.   // instead of: John Smith - 31/12/2016
  4.   // will show:  Published - 31/12/2016
  5.   add_filter( 'comment_author', 'custom_author' );
  6.   function custom_author() {
  7.     return 'Published ';
  8.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top