apply_filters( 'wp_targeted_link_rel', string $rel , string $link_html )
Filters the rel values that are added to links with target
attribute.
Parameters
-
$rel
string -
The rel values.
-
$link_html
string -
The matched content of the link tag including all HTML attributes.
Source
File: wp-includes/formatting.php
.
View all references
$rel = apply_filters( 'wp_targeted_link_rel', 'noopener', $link_html );
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |