Clanbite General

apply_filters( 'clanbite_visibility_container_editor_script_handle', string $handle )

Filter the editor script handle used to localize visibility-container role data.

Default is the handle WordPress registered for the block’s editorScript (from block.json).

Filter PHP

Parameters

$handle (string)

Editor script handle.

Example

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

Defined in clanbite.php