autoship_after_print_variable_product_custom_fields_group

(src/product-page.php) Action within the autoship_print_variable_product_custom_fields() function to allow you to extend the Autoship Options (within the "autoship-sync-active-option-group" classed div) on the Edit Product > Variations tab.

Example

//add custom section after autoship options on WC > product-page 
function xx_add_after_autoship_options_prod_page_variable ($product){
	// return custom fields div
	 ?>
	<div id="custom-options">
		<h4>Hello World!</h4>
	</div>
	<?php
}

add_action('autoship_after_print_variable_product_custom_fields_group', 'xx_add_after_autoship_options_prod_page_variable', 10, 1);

Still need help? Contact Us Contact Us