Mở link bình luận trong tab mới
//*Open comment links in new tab | |
function comment_links_in_new_tab($text) { | |
$return = str_replace('<a', '<a target="_blank"', $text); | |
return $return; | |
} | |
add_filter('get_comment_author_link', 'comment_links_in_new_tab'); | |
add_filter('comment_text', 'comment_links_in_new_tab'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment