WooCommerce > Product Catalog section * @since 4.5.0 * @access public * @param object $wp_customize * @return void */ public function shopengine_add_customizer_options( $wp_customize ) { $wp_customize->add_setting('shopengine_product_per_page_mobile', array( 'default' => '2', 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control('shopengine_product_per_page_mobile', array( 'label' => __('Products per row in mobile', 'shopengine'), 'section' => 'woocommerce_product_catalog', 'type' => 'number', 'priority' => 11, 'input_attrs' => array( 'min' => 1, 'step' => 1, ), )); $wp_customize->add_setting('shopengine_product_per_page_tablet', array( 'default' => '2', 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control('shopengine_product_per_page_tablet', array( 'label' => __('Products per row in tablet', 'shopengine'), 'section' => 'woocommerce_product_catalog', 'type' => 'number', 'priority' => 11, 'input_attrs' => array( 'min' => 1, 'step' => 1, ), )); } }