WordPress at a glance
filter is not described

wp_targeted_link_rel filter-hook . WP 5.1.0

Filters the rel values that are added to links with target attribute.


add_filter( 'wp_targeted_link_rel', 'filter_function_name_805', 10, 2 );
function filter_function_name_805( $string, $link_html ){
	// filter...

	return $string;
The rel values.
The matched content of the link tag including all HTML attributes.

Where the hook is called

wp-includes/formatting.php 3072
$rel = apply_filters( 'wp_targeted_link_rel', 'noopener noreferrer', $link_html );

Where the hook is used (in WP core)

Использование не найдено.