-
-
Save breadface/1e3c9736bc7eae6008a9c1d9a79e85bf 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