Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Plugin Name: Splits Snapshot backup
- * Description: Splits backup into a smaller size.
- * Version: 1.0.0
- * Author: Bamboo
- * Author URI: https://premium.wpmudev.org/
- * License: GNU General Public License v3 or later
- */
- function snapshot_custom_size_increment() {
- return 5 * 1024 * 1024;
- }
- add_filter( 'snapshot_model_transfer_part_size_increment', 'snapshot_custom_size_increment' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement