W3cubDocs

/WordPress

get_all_registered_block_bindings_sources(): WP_Block_Bindings_Source[]

Retrieves the list of all registered block bindings sources.

Return

WP_Block_Bindings_Source[] The array of registered block bindings sources.

Source

function get_all_registered_block_bindings_sources() {
	return WP_Block_Bindings_Registry::get_instance()->get_all_registered();
}

Changelog

Version Description
6.5.0 Introduced.

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