WordPress at a glance
filter is not described

clean_url filter-hook . WP 2.3.0

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


add_filter( 'clean_url', 'filter_function_name_3160', 10, 3 );
function filter_function_name_3160( $good_protocol_url, $original_url, $_context ){
	// filter...

	return $good_protocol_url;
The cleaned URL to be returned.
The URL prior to cleaning.
If 'display', replace ampersands and single quotes only.

Where the hook is called

wp-includes/formatting.php 4276
return apply_filters( 'clean_url', $good_protocol_url, $original_url, $_context );

Where the hook is used (in WP core)

Использование не найдено.