@wp-playground/clientInterfacesWriteFileStepOn this pageWriteFileStep <FileResource>Writes data to a file at the specified path.@hasRunnableExample@landingPage/test.php@example<code>{ "step": "writeFile", "path": "/wordpress/test.php", "data": "<?php echo 'Hello World!'; ?>"}</code>Index PropertiesdatapathstepProperties datadata: string | Uint8Array | FileResourceThe data to writepathpath: stringThe path of the file to write tostepstep: writeFile
Writes data to a file at the specified path.
/test.php