wp_targeted_link_rel
- wp_targeted_link_rel is deprecated since version 6.7.0!
wp_targeted_link_rel ( $text )
Parameters:- (string) text Content that may contain HTML A elements.
Returns:- (string) Converted content.
Defined at:Change Log: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: 6.7.0
Description
Adds `rel="noopener"` to all HTML A elements that have a target.