@wp-playground/blueprintsInterfacesWriteFileStepOn 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 | FileResource | Uint8ArrayThe data to writepathpath: stringThe path of the file to write tostepstep: writeFile
Writes data to a file at the specified path.
/test.php