autoship_after_print_product_custom_fields (action)

(src/product-page.php) Action within the autoship_print_product_custom_fields() function to allow you to extend the Autoship Options on the WP-Admin > Products > Edit Product > Autoship (tab)

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