table not being excluded
-
(tried posting to your forum, but cloudflare didnt allow me to post to your forum and said I was blocked. Weird). Do table exclusions as defined below only work for cron style backups or should they work in all circumstances? if I click the backup button and run and run the backup, it appears to still try to backup the table i have marked for exclusion within the exclusions array. How can I correct this so that its always excluded with your tool?
<?php /* Plugin Name: Updraft Exclusions */ defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); add_filter('updraftplus_backup_table', 'my_updraftplus_backup_table', 10, 5); function my_updraftplus_backup_table($go_ahead, $table, $table_prefix, $whichdb, $dbinfo) { $tables_to_not_back_up = array('wp_relevanssi'); if (in_array($table, $tables_to_not_back_up)) return false; return $go_ahead; } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘table not being excluded’ is closed to new replies.