文件操作 - block.json
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/build/Campaigns/Blocks/CampaignForm/block.json
编辑文件内容
{ "$schema": "https://json.schemastore.org/block.json", "apiVersion": 3, "name": "givewp/campaign-form", "version": "1.0.0", "title": "Campaign Form", "category": "give", "description": "The GiveWP Campaign Form block inserts an existing campaign form into the page.", "supports": { "align": [ "wide", "full" ] }, "attributes": { "campaignId": { "type": "number" }, "blockId": { "type": "string" }, "prevId": { "type": "number" }, "id": { "type": "number" }, "displayStyle": { "type": "string" }, "continueButtonTitle": { "type": "string" }, "showTitle": { "type": "boolean" }, "contentDisplay": { "type": "string" }, "showGoal": { "type": "boolean" }, "showContent": { "type": "boolean" }, "useDefaultForm": { "type": "boolean", "default": true } }, "example": {}, "textdomain": "give", "render": "file:./render.php", "viewScript": "file:../../../../build/campaignFormBlockApp.js", "editorScript": "file:../../../../build/assets/dist/js/parent-page.js", "viewStyle": "file:../../../../build/campaignFormBlockApp.css", "editorStyle": "file:../../../../build/assets/dist/css/embed-form.css", "style": "file:../../../../build/campaignFormBlock.css" }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件