Filters a string cleaned and escaped for output as a URL.
$good_protocol_urlstring
$original_urlstring
$_contextstring
'display', replace ampersands and single quotes only.return apply_filters( 'clean_url', $good_protocol_url, $original_url, $_context );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_url