wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_make_link_relative › WordPress Function
Desde2.1.0
Obsoleton/a
› wp_make_link_relative ( $link )
Parâmetros: |
|
Retorna: |
|
Definido em: |
|
Codex: | |
Log de mudanças: |
|
Converts full URL paths to absolute paths.
Removes the http or https protocols and the domain. Keeps the path '/' at the beginning, so it isn't a true relative link, but from the web root base.Funções relacionadas: wp_targeted_link_rel, _make_clickable_rel_attr, wp_maybe_decline_date, wp_make_plugin_file_tree, wp_get_link_cats