wp block binding <command>

Retrieves details on registered block binding sources.

In this article

Get information on block binding sources from the WP_Block_Bindings_Registry. Block bindings allow dynamic data to be connected to block attributes.

Examples

# List all registered binding sources
$ wp block binding list

# Get details about the post-meta binding
$ wp block binding get core/post-meta --format=json

Subcommands

NameDescription
wp block binding get

Gets details about a registered block binding source.

wp block binding list

Lists registered block binding sources.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.