unregister_block_bindings_source

The timeline below displays how wordpress function unregister_block_bindings_source has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.5

/**
 * Unregisters a block bindings source.
 *
 * @since 6.5.0
 *
 * @param string $source_name Block bindings source name including namespace.
 * @return WP_Block_Bindings_Source|false The unregistered block bindings source on success and `false` otherwise.
 */
function unregister_block_bindings_source(string $source_name)
{
    return WP_Block_Bindings_Registry::get_instance()->unregister($source_name);
}