wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
links_add_target › WordPress Function
Desde2.7.0
Obsoleton/a
› links_add_target ( $content, $target = '_blank', $tags = array('a') )
| Parâmetros: (3) |
|
| Retorna: |
|
| Definido em: |
|
| Codex: |
Adds a target attribute to all links in passed content.
By default, this function only applies to<a> tags.
However, this can be modified via the $tags parameter.
NOTE: Any current target attribute will be stripped and replaced.Funções relacionadas: _links_add_target, _links_add_base, links_add_base_url, link_pages, link_target_meta_box