A WordPress-centric search engine for devs and theme authors



clean_url ›

Since2.3.0
Deprecatedn/a
apply_filters( 'clean_url', $good_protocol_url, $original_url, $_context )
Parameters: (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
Defined at:
Codex:

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





Source

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