Codex tools: Log in
Contents |
Adds target='_blank' and rel='external' to all HTML Anchor tags to open links in new windows.
Comment text in popup windows should be filtered through this. Right now it's a moderately dumb function, ideally it would detect whether a target or rel attribute was already there and adjust its actions accordingly.
<?php popuplinks( $text ) ?>
Since: 0.71
popuplinks() is located in wp-includes/formatting.php.