Write a file
write_fileCreate or replace a file under wp-content/themes, wp-content/plugins or wp-content/uploads, e.g. path "themes/bakery/style.css". Folders are made as needed. Use content for text or content_base64 for binary (25 MB at most).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | relative to wp-content, starting with themes/, plugins/ or uploads/ | |
| site | Yes | the site name, from create_site or list_sites | |
| token | No | the token create_site returned (oxa_...); leave out when Oxyforge is connected with an account agent key | |
| content | No | ||
| content_base64 | No |