2020-05-01 / 3877阅 / 悠然
Filters and sanitizes a parsed block attribute value to remove non-allowable HTML.
(string[]|string)
(Required)
The attribute value to filter.
(array[]|string)
(Required)
An array of allowed HTML elements and attributes, or a context name such as 'post'.
(string[])
(Optional)
Array of allowed URL protocols.
Default value: array()
(string[]|string) The filtered and sanitized result.