How to increase the Max Input Vars Limit

The max_input_vars directive can be configured in .htaccess, php.ini, or wp-config.php file. We recommend increasing the default value to 3000. Here is how you can do it:

In .htaccess

php_value max_input_vars 3000

In php.ini

max_input_vars = 3000

In wp-config.php

@ini_set( 'max_input_vars' , 3000 );

Leave a Reply

Your email address will not be published. Required fields are marked *