Uma área de pesquisa sobre o WordPress para devs e autores do tema



clean_url ›

Desde2.3.0
Obsoleton/a
apply_filters( 'clean_url', $good_protocol_url, $original_url, $_context )
Parâmetros: (3)
  • (string) $good_protocol_url The cleaned URL to be returned.
    Required: Yes
  • (string) $original_url The URL prior to cleaning.
    Required: Yes
  • (string) $_context If 'display', replace ampersands and single quotes only.
    Required: Yes
Definido em:
Codex:

Filters a string cleaned and escaped for output as a URL.





Fonte

return apply_filters( 'clean_url', $good_protocol_url, $original_url, $_context );