×

Change File size max

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8753
    rbandojo
    Participant

    How to change file size max

    For example, 40mb

    Users can upload a file with a size of 40mb

    #8754
    Ali Khallad
    Keymaster

    Add this to your child theme’s functions.php file:

    function wddu_new_max_upload_size( $num ) {
      return 40;
    }
    add_filter( 'wddu_max_upload_size', 'wddu_new_max_upload_size' );
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.