wpseek.com
A WordPress-centric search engine for devs and theme authors
clean_url is deprecated since version 3.0.0!
Alternative: esc_url()
Alternative: esc_url()
clean_url › WordPress Function
Since1.2.0
Deprecated3.0.0
› clean_url ( $url, $protocols = null, $context = 'display' )
Parameters: (3) |
|
See: |
|
Returns: |
|
Defined at: |
|
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.