How to increase size All In One Plugin in WordPress By Code Edit
- Download Visual Code Studio for PHP File Editing Official Website https://code.visualstudio.com/Download
- Go to File Manager or Where you website installed.
- Enter Pluging Folder …….\wp-content\plugins\all-in-one-wp-migration\constants.php
- constants.php Open This File In Visual Code Editor
- Search for the word AI1WM_MAX_FILE_SIZE. Change it’s value, refer below code:
define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
To
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
if You Are Want Unlimited File Size Please add Zero after Counting Number Example: 2=20 and 28= 280
- Refresh The Website By pressing F5 if Your Using Chrome
If you even want more than 3 GB then change value from 536870912 * 5 to 536870912 * 10( or any number).
Don’t forget to update the file. - Now AI1WM_MAX_FILE_SIZE Function Removed by Official Resources Sarvmask For Please Use old Version Plugin 6.7 version is best.
Second Method
- Go to Plugin editor from the left menu panel in the admin dashboard.
- Top right, Choose All-in-one WP Migration from the dropdown and click select.
- Click on constants.php file.
- Search for the word AI1WM_MAX_FILE_SIZE. Change it’s value, refer below code:
define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
To
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
If you even want more than 3 GB then change value from 536870912 * 5 to 536870912 * 10( or any number).
Don’t forget to update the file. - Enjoy the new upload size
- Now AI1WM_MAX_FILE_SIZE Function Removed by Official Resources Sarvmask For Please Use old Version Plugin 6.7 version is best.
How to increase size All In One Plugin in WordPress By Code Edit
- Download Visual Code Studio for PHP File Editing Official Website https://code.visualstudio.com/Download
- Go to File Manager or Where you website installed.
- Enter Pluging Folder …….\wp-content\plugins\all-in-one-wp-migration\constants.php
- constants.php Open This File In Visual Code Editor
- Search for the word AI1WM_MAX_FILE_SIZE. Change it’s value, refer below code:
define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
To
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
if You Are Want Unlimited File Size Please add Zero after Counting Number Example: 2=20 and 28= 280
- Refresh The Website By pressing F5 if Your Using Chrome
If you even want more than 3 GB then change value from 536870912 * 5 to 536870912 * 10( or any number).
Don’t forget to update the file. - Now AI1WM_MAX_FILE_SIZE Function Removed by Official Resources Sarvmask For Please Use old Version Plugin 6.7 version is best.
Second Method
- Go to Plugin editor from the left menu panel in the admin dashboard.
- Top right, Choose All-in-one WP Migration from the dropdown and click select.
- Click on constants.php file.
- Search for the word AI1WM_MAX_FILE_SIZE. Change it’s value, refer below code:
define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
To
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
If you even want more than 3 GB then change value from 536870912 * 5 to 536870912 * 10( or any number).
Don’t forget to update the file. - Enjoy the new upload size
- Now AI1WM_MAX_FILE_SIZE Function Removed by Official Resources Sarvmask For Please Use old Version Plugin 6.7 version is best.