autoship_after_print_product_custom_fields

(src/product-page.php) Action within the autoship_product_custom_fields() function to allow you to extend the Autoship Options on the Edit Product > Autoship screen

Example

function xx_add_after_autoship_options_prod_page_simple ($product){
	// return custom fields div
     ?>
    <div id="custom-options">
        <h4>Hello World!</h4>
    </div>
    <?php
}

add_action('autoship_after_print_product_custom_fields', 'xx_add_after_autoship_options_prod_page_simple', 10, 1);

Still need help? Contact Us Contact Us