wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_targeted_link_rel › WordPress Filter Hooks

Seit5.1.0
Veraltetn/v
apply_filters( 'wp_targeted_link_rel', 'noopener', $link_html )
Parameter: (2)
  • () rel The rel values.
    Erforderlich: Ja
  • () link_html The matched content of the link tag including all HTML attributes.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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