wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_block_bindings_source › WordPress Function

Od6.5.0
Przestarzałyn/a
get_block_bindings_source ( $source_name )
Parametry:
  • (string) $source_name The name of the source.
    Wymagane: Tak
Powrót:
  • (WP_Block_Bindings_Source|null) The registered block bindings source, or `null` if it is not registered.
Zdefiniowane na:
Codex:

Retrieves a registered block bindings source.



Źródło

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