Filter hook 'clean_url'

in WP Core File wp-includes/formatting.php at line 4571

Description

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

Occurrences

Filename Line Number
wp-includes/formatting.php 4571

Parameters

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.

PHP Doc

/**
	 * 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.
	 */