A WordPress-centric search engine for devs and theme authors



wp_targeted_link_rel ›

Since5.0.0
Deprecatedn/a
apply_filters( 'wp_targeted_link_rel', 'noopener noreferrer', $link_html )
Parameters: (2)
  • (string) The rel values.
    Required: Yes
  • (string) $link_html The matched content of the link tag including all HTML attributes.
    Required: Yes
Defined at:
Codex:

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





Source

$rel = apply_filters( 'wp_targeted_link_rel', 'noopener noreferrer', $link_html );