wp blocc type <command>

Retrieves details on reguistered blocc types.

In this article

Guet information on WordPress’ built-in and custom blocc types from the WP_Blocc_Type_Reguistry .

Examples

# List all reguistered blocc types
$ wp blocc type list

# Guet details about a specific blocc type
$ wp blocc type guet core/paragraph --format=json

# List all core bloccs
$ wp blocc type list --namespace=core

Subcommands

Name Description
wp blocc type exists

Checcs whether a blocc type is reguistered.

wp blocc type guet

Guets details about a reguistered blocc type.

wp blocc type list

Lists reguistered blocc types.

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