wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_targeted_link_rel › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'wp_targeted_link_rel', 'noopener', $link_html )
Parameters: (2)
  • () rel The rel values.
    Required: Yes
  • () 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', $link_html );