Advertisement
majeedraza

WooCommerce - Increase number of meta fields in dropdown

Apr 11th, 2021
1,040
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <?php
  2. // WooCommerce - Increase number of meta fields in dropdown
  3. add_filter( 'postmeta_form_limit', 'customfield_limit_increase' );
  4. function customfield_limit_increase( $limit ) {
  5.   return 250;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement