Filters the list of protocols allowed in HTML attributes.
$protocolsstring[]
'http', 'ftp', 'tel', and more.$protocols = array_unique( (array) apply_filters( 'kses_allowed_protocols', $protocols ) );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/kses_allowed_protocols