visual-blueprint-builder/build/steps/update-user-meta/block.json
GitHub Action defbf3f0f4 Add files
2025-10-02 15:51:11 +00:00

30 lines
No EOL
731 B
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "playground-step/update-user-meta",
"version": "0.1.0",
"title": "Update User Meta",
"category": "config",
"description": "Updates user meta. This is equivalent to calling update_user_meta for each meta value in the meta object.",
"example": {},
"supports": {
"html": false,
"customClassName": false
},
"attributes": {
"step": {
"type": "string",
"default": "updateUserMeta"
},
"meta": {
"type": "object",
"default": {}
},
"userId": {
"type": "number",
"default": 1
}
},
"textdomain": "wp-playground-blueprint-editor",
"editorScript": "file:./index.js"
}