Note: This command is not part of a stable WP-CLI release yet. To use it now, switch to the nightly build with wp cli update --nightly. If you installed the command as a separate package, updating that package may be enough.
Get information on WordPress’ built-in and custom block patterns from the WP_Block_Patterns_Registry.
Examples
# List all registered block patterns
$ wp block pattern list
# Get details about a specific pattern
$ wp block pattern get core/query-standard-posts --format=json
# List patterns in a specific category
$ wp block pattern list --category=featured
Subcommands
| Name | Description |
|---|---|
| wp block pattern get | Gets details about a registered block pattern. |
| wp block pattern list | Lists registered block patterns. |