WPDev.one
Core Function
View Source on Trac ↗

_links_add_target()

_links_add_target( mixed $m )

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

Parameters 1 required

Name / Type Description
$m
string

The matched link.

Required

Return Value

(string)
The processed link.

Function Information

Since Version
2.7.0
Source File
wp-includes/formatting.php
Advertisement