WordPress Version: 6.5
/**
* Retrieves a registered block bindings source.
*
* @since 6.5.0
*
* @param string $source_name The name of the source.
* @return WP_Block_Bindings_Source|null The registered block bindings source, or `null` if it is not registered.
*/
function get_block_bindings_source(string $source_name)
{
return WP_Block_Bindings_Registry::get_instance()->get_registered($source_name);
}