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

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

Description Description

Parameters Parameters


(string) The cleaned URL to be returned.


(string) The URL prior to cleaning.


(string) If 'display', replace ampersands and single quotes only.

Top ↑

Source Source

File: wp-includes/formatting.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.