Using WordPress ‘filter_block_kses()’ PHP function
Filters and sanitizes a parsed block to remove non-allowable HTML from block attribute values.
Filters and sanitizes a parsed block to remove non-allowable HTML from block attribute values.
Escapes single quotes, ", , &, and fixes line endings.
Displays translated text that has been escaped for safe use in an attribute.
Legacy function used to generate a link categories checklist control.