daily pastebin goal
32%
SHARE
TWEET

WooCommerce - Hide review author's name

lorro Aug 7th, 2017 (edited) 52 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
Top