wordpress_write_theme_file
Write or modify theme files in WordPress while automatically creating backups to prevent data loss during customization.
Instructions
Write or modify a file in a theme (automatically creates backup)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | ||
| filePath | Yes | ||
| content | Yes |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"type": "string"
},
"filePath": {
"type": "string"
},
"theme": {
"type": "string"
}
},
"required": [
"theme",
"filePath",
"content"
],
"type": "object"
}