apply_filters( 'kses_allowed_protocols', array $protocols )
Filters the list of protocols allowed in HTML attributes.
Description
Parameters
- $protocols
-
(array) Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Allow Skype call links.
The filter should to run before init.
Note: this example only works in PHP 5.3+