Filter hook 'wp_targeted_link_rel'

in WP Core File wp-includes/formatting.php at line 3360

Description

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

Occurrences

Filename Line Number
wp-includes/formatting.php 3360

Parameters

Type Name Description
string $rel The rel values.
string $link_html The matched content of the link tag including all HTML attributes.

PHP Doc

/**
	 * Filters the rel values that are added to links with `target` attribute.
	 *
	 * @since 5.1.0
	 *
	 * @param string $rel       The rel values.
	 * @param string $link_html The matched content of the link tag including all HTML attributes.
	 */