mirror of
https://ghproxy.net/https://github.com/wp-cli/handbook.git
synced 2026-07-26 12:37:22 +08:00
18 lines
423 B
Markdown
18 lines
423 B
Markdown
# wp block template
|
|
|
|
Retrieves details on block templates and template parts.
|
|
|
|
Get information on block templates used in Full Site Editing (FSE) themes.
|
|
|
|
### EXAMPLES
|
|
|
|
# List all templates
|
|
$ wp block template list
|
|
|
|
# List template parts for the header area
|
|
$ wp block template list --type=wp_template_part --area=header
|
|
|
|
# Get a specific template
|
|
$ wp block template get twentytwentyfour//single
|
|
|
|
|