Created
July 1, 2018 05:07
-
-
Save Guley/60b7321dfa8a032e92226c8b95e231a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$error= ' Test log file'; | |
$myfile = file_put_contents(get_template_directory() . '/logs.php', $error.PHP_EOL , FILE_APPEND | LOCK_EX); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment