WPDev.one
Core Function
View Source on Trac ↗

get_block_bindings_source()

get_block_bindings_source( string $source_name )

Retrieves a registered block bindings source.

Parameters 1 required

Name / Type Description
$source_name
string

The name of the source.

Required

Return Value

((WP_Block_Bindings_Source)
| null) The registered block bindings source, or `null` if it is not registered.

Function Information

Since Version
6.5.0
Source File
wp-includes/block-bindings.php
Advertisement