Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function theme_prefix_remove_comment_date($date, $d, $comment) {
- if ( !is_admin() ) {
- return;
- } else {
- return $date;
- }
- }
- add_filter( 'get_comment_date', 'theme_prefix_remove_comment_date', 10, 3);
- // Remove comment time
- function theme_prefix_remove_comment_time($date, $d, $comment) {
- if ( !is_admin() ) {
- return;
- } else {
- return $date;
- }
- }
- add_filter( 'get_comment_time', 'theme_prefix_remove_comment_time', 10, 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement