apply_filters( ‘wp_targeted_link_rel’, string $rel, string $link_html )

In this article

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

$rel = apply_filters( 'wp_targeted_link_rel', 'noopener', $link_html );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

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