apply_filters( 'kses_allowed_protocols', string[] $protocols )

Filters the list of protocols allowed in HTML attributes.


Parameters

$protocols

Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
3.0.0 Introduced.