skip to Main Content

Disable multiple size image generation for Woocommerce uploaded images only

I have a theme that generates 11 different sized images for every image uploaded. set_post_thumbnail_size( 220, 150, true); add_image_size( 'redmag-blog-list', 491, 280, true); add_image_size( 'redmag-blog-list-large', 614, 320, true); add_image_size( 'redmag-sidebar', 100 ,100, true); add_image_size( 'redmag-blog-grid', 496, 290, true); add_image_size( 'redmag-blog-tran',…

VIEW QUESTION

Getting "per_page must be between 1 (inclusive) and 100 (inclusive)" while requesting the categories in WooCommerce

https://example.com/wp-json/wc/v2/products/categories/?per_page=150&consumer_key=ck_991580c4b11ae619bef763195f67c311aa2bc&consumer_secret=cs_07cacbb022086cf185beb0145fe0e5db01c57&currentLanguage=en { "code": "rest_invalid_param", "message": "Invalid parameter(s): per_page", "data": { "status": 400, "params": { "per_page": "per_page must be between 1 (inclusive) and 100 (inclusive)" } } } I am trying to get the 150 categories from the woo-commerce using the…

VIEW QUESTION
Back To Top
Search