Alternative to file_get_contents() for theme operations
-
06-11-2019 - |
Question
My theme options page needs to write to the style.css file in order to store updated theme settings. To do that, I'm using file_get_contents() and file_put_contents()
However, theme-check plugin complains about it. What is an acceptable alternative for writing to local files?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange