Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated.
Adds element attributes to open links in new tabs.
(string) (Required) Content to replace links to open in a new tab.
(string) Content that has filtered links.
File: wp-includes/deprecated.php
function popuplinks( $text ) { _deprecated_function( __FUNCTION__, '4.5.0' ); $text = preg_replace('/<a (.+?)>/i', "<a $1 target='_blank' rel='external'>", $text); return $text; }
Version | Description |
---|---|
4.5.0 | This function has been deprecated. |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/popuplinks