Increase number of custom fields

By default wordpress limits you to 30 custom fields this will allow you to Increase default number of custom fields. This example is set to 60 custom field limits.Simply paste the following into your functions.php-file and away you go!



add_filter( 'postmeta_form_limit' , 'customfield_limit_increase' );
function customfield_limit_increase( $limit ) {
$limit = 60;
return $limit;


Leave a comment