wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
clean_url is deprecated since version 3.0.0!
Alternative: esc_url()
Alternative: esc_url()
clean_url › WordPress Function
Depuis1.2.0
Dépréciée3.0.0
› clean_url ( $url, $protocols = null, $context = 'display' )
Paramètres: (3) |
|
Voir: |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Checks and cleans a URL.
A number of characters are removed from the URL. If the URL is for displaying (the default behavior) ampersands are also replaced. The 'clean_url' filter is applied to the returned cleaned URL.