apply_filters( 'clean_url', string $good_protocol_url, string $original_url, string $_context )

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


Parameters

$good_protocol_url

The cleaned URL to be returned.

$original_url

The URL prior to cleaning.

$_context

If 'display', replace ampersands and single quotes only.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.