Forums
-
- Forum
- Posts
-
- Installation
- 28,504
- Troubleshooting
- 62,685
- Themes
- 10,431
- Plugins
- 15,361
- Requests & Feedback
- 14,973
- Showcase
- 3,256
-
function bb_target_blank( $text ) {
$text = preg_replace('|<a (.+?)>|i', '<a $1 target="_blank">', $text);
return $text;
}
add_filter('post_text', 'bb_target_blank',255);