BlockSpec
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:50
Properties
Section titled “Properties”alternateRenderTargets
Section titled “alternateRenderTargets”alternateRenderTargets: readonly (
"email"|"mjml"|"plain-text")[]
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:51
block:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:52
namespace
Section titled “namespace”namespace:
string
phpPrefix
Section titled “phpPrefix”phpPrefix:
string
slug:
string
textDomain
Section titled “textDomain”textDomain:
string
compound
Section titled “compound”compound:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:58
innerBlocksPreset
Section titled “innerBlocksPreset”innerBlocksPreset:
"horizontal"|"freeform"|"ordered"|"locked-structure"
metadata
Section titled “metadata”metadata:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:61
category
Section titled “category”category:
string
description
Section titled “description”description:
string
icon:
string
keyword
Section titled “keyword”keyword:
string
title:
string
persistence
Section titled “persistence”persistence: {
enabled:false; } | {dataStorageMode:"post-meta"|"custom-table";enabled:true;persistencePolicy:"public"|"authenticated";scope:"single"|"compound-parent"; }
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:68
project
Section titled “project”project:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:78
author
Section titled “author”author:
string
queryLoop
Section titled “queryLoop”queryLoop:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:81
allowedControls
Section titled “allowedControls”allowedControls: readonly
string[]
enabled
Section titled “enabled”enabled:
boolean
postType
Section titled “postType”postType:
string
runtime
Section titled “runtime”runtime:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:86
withMigrationUi
Section titled “withMigrationUi”withMigrationUi:
boolean
withTestPreset
Section titled “withTestPreset”withTestPreset:
boolean
withWpEnv
Section titled “withWpEnv”withWpEnv:
boolean
wpVersion
Section titled “wpVersion”wpVersion:
"7.0"|"6.9"
template
Section titled “template”template:
object
Defined in: wp-typia-project-tools/src/runtime/templates/block-generator-service-spec.ts:92
description
Section titled “description”description:
string
family
Section titled “family”family:
"basic"|"interactivity"|"persistence"|"compound"|"query-loop"
features
Section titled “features”features:
string[]