Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WooCommerce - Hide review author's name
- // instead of: John Smith - 31/12/2016
- // will show: Published - 31/12/2016
- add_filter( 'comment_author', 'custom_author' );
- function custom_author() {
- return 'Published ';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement