wpseek.com
A WordPress-centric search engine for devs and theme authors



get_block_bindings_source › WordPress Function

Since6.5.0
Deprecatedn/a
get_block_bindings_source ( $source_name )
Parameters:
  • (string) $source_name The name of the source.
    Required: Yes
Returns:
  • (WP_Block_Bindings_Source|null) The registered block bindings source, or `null` if it is not registered.
Defined at:
Codex:

Retrieves a registered block bindings source.



Source

function get_block_bindings_source( string $source_name ) {
	return WP_Block_Bindings_Registry::get_instance()->get_registered( $source_name );
}