Closed soulseekah closed 4 years ago
Actually, we can use WP_TEMP_DIR constant to override get_temp_dir() output. What about this solution?
It's a good workaround. But it will affect all calls to get_temp_dir
and other plugins may use it, so if you set it to wp-content/cache/pomodoro
for example, other plugins may dump a crapton of data into there.
please consider PR
fixed via #15
POMODORO_CACHE_DIR
constant.Don't forget to
wp_mkdir_p
.