WordPress at a glance
function is not described

popuplinks() WP 0.71

Deprecated from version 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.

Changelog

Since 0.71 Introduced.
Deprecated 4.5.0

Code of popuplinks() WP 5.7

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