sitebay_site_edit_file
Edit files in WordPress wp-content directory to update themes, plugins, or custom code. Specify site domain, file path, and new content to modify site files.
Instructions
Edit a file in the site's wp-content directory.
Args: fqdn: The fully qualified domain name of the site file_path: Path to the file in wp-content (e.g., "wp-content/themes/mytheme/style.css") content: New content for the file
Returns: Success confirmation with file details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | Yes | ||
| file_path | Yes | ||
| file_edit_using_search_replace_blocks | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |