wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_targeted_link_rel › Hooks de Filtros WordPress

Desde5.1.0
Obsoleton/a
› apply_filters( 'wp_targeted_link_rel', 'noopener', $link_html )
Parâmetros: (2)
  • () rel The rel values.
    Required: Yes
  • () link_html The matched content of the link tag including all HTML attributes.
    Required: Yes
Definido em:
Codex:

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





Fonte

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