WordPress at a glance
function is not described

popuplinks() WP 0.71

Deprecated in 4.5.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Adds element attributes to open links in new tabs.

No Hooks.

Return

String. Content that has filtered links.

Usage

popuplinks( $text );
$text(string) (required)
Content to replace links to open in a new tab.

Code of popuplinks: wp-includes/deprecated.php VER 5.1.1

<?php
function popuplinks( $text ) {
	_deprecated_function( __FUNCTION__, '4.5.0' );
	$text = preg_replace('/<a (.+?)>/i', "<a $1 target='_blank' rel='external'>", $text);
	return $text;
}