Select box for loading attributes shows only 5 items
-
Default number of posts to retrieve is 5, I added ‘numberposts’ => -1, so it will now fetch all attribute groups.
Line 333, woocommerce-load-group-attributes-product.php
$args = array(‘post_type’ => ‘w_default_attributes’, ‘numberposts’ => -1);
$myposts = get_posts($args);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Select box for loading attributes shows only 5 items’ is closed to new replies.