_links_add_target( string $m ): string

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Callback to add a target attribute to all links in passed content.

Parameters

$mstringrequired
The matched link.

Return

string The processed link.

Source

*
* @since 2.7.0
* @access private
*
* @global string $_links_add_target
*

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.