WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about clean_url

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 4467 /**
* Filters a string cleaned and escaped for output as a URL.
*
* @since 2.3.0
*
* @param string $good_protocol_url The cleaned URL to be returned.
* @param string $original_url The URL prior to cleaning.
* @param string $_context If 'display', replace ampersands and single quotes only.
*/

Hook Parameters

Parameter Type Name Description
string $good_protocol_url The cleaned URL to be returned.
string $original_url The URL prior to cleaning.
string $_context If 'display', replace ampersands and single quotes only.