Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/functions.php | apply_filters | 6901 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $protocols | Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more. |