Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mở tất cả link trong tab mới
function autoblank($text) {
$return = str_replace('<a', '<a target="_blank"', $text);
return $return;
}
add_filter('the_content', 'autoblank');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.