Clanbite General

apply_filters( 'clanbite_block_fragment_allowed_html', array<string, array<string, bool>> $allowed )

Filter: clanbite_block_fragment_allowed_html — extend safe tags/attributes for wp_kses() on block fragments.

Do not mutate the passed array in place; return an altered copy when adding keys.

Filter PHP

Parameters

$allowed (array<string, array<string, bool>>)

Base allow-list (post rules plus Clanbite SVG tags).

Example

add_filter( 'clanbite_block_fragment_allowed_html', function ( $allowed ) {
	// Change $allowed here.
	return $allowed;
}, 10, 1 );

Defined in inc/clanbite-block-render-escape.php