wp_targeted_link_rel_callback
wp_targeted_link_rel_callback ( $matches )
Parameters:- (array) matches Single match.
Returns:- (string) HTML A Element with `rel="noopener"` in addition to any existing values.
Defined at:Change Log: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: —
Description
Callback to add `rel="noopener"` string to HTML A element.Will not duplicate an existing 'noopener' value to avoid invalidating the HTML.