autoship_before_print_product_custom_price_fields (action)

(src/product-page.php) Developers can use this action to add custom content before the price form fields on the WP-Admin > Products page. It takes the (WooCommerce) $_product as a parameter.

Code

<?php do_action( 'autoship_before_print_product_custom_price_fields', $_product ); ?>

Example

function action_hook_name_display (){
	echo '<h3>I am the "autoship_before_print_product_custom_price_fields" action hook</h3>';
}
add_action('autoship_before_print_product_custom_price_fields', 'action_hook_name_display');

Still need help? Contact Us Contact Us