wp_targeted_link_rel


wp_targeted_link_rel ( $text )

Parameters:
  • (string) $text Content that may contain HTML A elements.
Returns:
  • (string) Converted content.
Defined at:

Description

Adds rel noreferrer and noopener to all HTML A elements that have a target.

Related Functions

wp_targeted_link_rel_callback, wp_get_links, wp_make_link_relative, wp_get_link_cats, wp_delete_link

Top Google Results

User discussions

wpseek mobile