Filter hook 'kses_allowed_protocols'

in WP Core File wp-includes/functions.php at line 7144

Description

Filters the list of protocols allowed in HTML attributes.

Occurrences

Filename Line Number
wp-includes/functions.php 7144

Parameters

Type Name Description
string[] $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.

PHP Doc

/**
		 * Filters the list of protocols allowed in HTML attributes.
		 *
		 * @since 3.0.0
		 *
		 * @param string[] $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
		 */