php - How to create a extra setting option under product setting option in WooCommerce? -


enter image description here

<?php /**  * create section beneath products tab  **/ add_filter( 'woocommerce_get_sections_products', 'wcslider_add_section' ); function wcslider_add_section( $sections ) {        $sections['wcslider'] = __( 'wc slider', 'text-domain' );     return $sections; } 

where add code (i mean in file) ?

add code functions.php file in wordpress theme.


Comments