W3cubDocs

/WordPress

unregister_block_bindings_source( string $source_name ): WP_Block_Bindings_Source|false

Unregisters a block bindings source.

Parameters

$source_namestringrequired
Block bindings source name including namespace.

Return

WP_Block_Bindings_Source|false The unregistered block bindings source on success and false otherwise.

Source

function unregister_block_bindings_source( string $source_name ) {
	return WP_Block_Bindings_Registry::get_instance()->unregister( $source_name );
}

Changelog

Version Description
6.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/unregister_block_bindings_source