wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
links_add_target › WordPress Function
Da2.7.0
Deprecaton/a
› links_add_target ( $content, $target = '_blank', $tags = array('a') )
| Parametri: (3) |
|
| Ritorna: |
|
| Definito a: |
|
| 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.Funzioni correlate: _links_add_target, _links_add_base, links_add_base_url, link_pages, link_target_meta_box