On this page
apply_filters( 'wp_targeted_link_rel', string $rel, string $link_html )
Filters the rel values that are added to links with target attribute.
Parameters
$relstring-
The rel values.
$link_htmlstring-
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 );
Related
Used By
| Used By | Description |
|---|---|
| wp_targeted_link_rel_callback() wp-includes/formatting.php | Callback to add |
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_targeted_link_rel