Created
November 17, 2016 15:01
-
-
Save kjohnson/762184d43a91c58c4a3cbf3f38e78e05 to your computer and use it in GitHub Desktop.
Max File Size filter for All-in-One WP Migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'ai1wm_max_file_size', 'my_ai1wm_max_file_size', 10, 1 ); | |
function my_ai1wm_max_file_size( $max_file_size ){ | |
$new_max_file_size = 1073741824; | |
return $new_max_file_size; | |
} | |
// apply_filters( ‘ai1wm_max_file_size’, AI1WM_MAX_FILE_SIZE ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment