Title: wp block binding
Published: January 7, 2026
Last modified: May 25, 2026

---

# 󠀁[wp block binding <command>](https://developer.wordpress.org/cli/commands/block/binding/)󠁿

Retrieves details on registered block binding sources.

## In this article

 * [Examples](https://developer.wordpress.org/cli/commands/block/binding/?output_format=md#examples)
 * [Subcommands](https://developer.wordpress.org/cli/commands/block/binding/?output_format=md#subcommands)

[ Back to top](https://developer.wordpress.org/cli/commands/block/binding/?output_format=md#wp--skip-link--target)

 [ ⌊GitHub⌉ ](https://github.com/wp-cli/block-command)

 [ View Open Issues (0) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Ablock-binding+sort%3Aupdated-desc+org%3Awp-cli+is%3Aopen)
[ View Closed Issues (0) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Ablock-binding+sort%3Aupdated-desc+org%3Awp-cli+is%3Aclosed)
[Create New Issue](https://github.com/wp-cli/block-command/issues/new)

Get information on block binding sources from the [WP_Block_Bindings_Registry](https://developer.wordpress.org/reference/classes/wp_block_bindings_registry/).
Block bindings allow dynamic data to be connected to block attributes.

### 󠀁[Examples](https://developer.wordpress.org/cli/commands/block/binding/?output_format=md#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](https://developer.wordpress.org/cli/commands/block/binding/?output_format=md#subcommands)󠁿

| Name | Description | 
| [wp block binding get](https://developer.wordpress.org/cli/commands/block/binding/get/) |

Gets details about a registered block binding source.

  | 
| [wp block binding list](https://developer.wordpress.org/cli/commands/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._