How to change number of woocommerce related products through customizer setting?

Ok, lets start from creating  user interface  through customizer API. Hope you guys know about Customizer setting API API of WordPress. This is how i build user interface to choose number of related products on theme. First add this code inside "customize_register" hooks. //create section  for woocommerce setting $wp_customize->add_section( 'woocommerce_settings', array( 'title' => __( 'Woocommerce Settings', [...]

Advertisements