I would like to have a backupfilename like 'wp_monday', 'wp_thuesday' or 'wp_monday_1', 'wp_thuesday_1' (maybe created by something based on the php-date/time-variables http://php.net/manual/en/function.date.php in a future version?)
How can I set my backup-filename to the weekday it was created?
I would like to have a backupfilename like 'wp_monday', 'wp_thuesday' or 'wp_monday_1', 'wp_thuesday_1' (maybe created by something based on the php-date/time-variables
http://php.net/manual/en/function.date.php in a future version?)
How can I set my backup-filename to the weekday it was created?
The format for the file is set on line 99 and 100 of the wp-db-backup.php plugin, so you can modify it there to show the weekday.
currently, it's
date("Ymd_B");But just add a lowercase L to show the weekday instead:
date("l_B");RSS feed for this topic
Reply
You must log in to post.