get_contents( $logfile ); $existing_log = false === $existing_log ? '' : $existing_log; return (bool) $filesystem->put_contents( $logfile, $existing_log . $html_line ); } }