Methods to disguise or present worth on a product in woocommerce?

add_action( ‘woocommerce_product_options_pricing’, ‘add_hide_price_checkbox’ );
operate add_hide_price_checkbox() {
world $woocommerce, $put up;
echo ‘<div class=”options_group”>’;
woocommerce_wp_checkbox(
array(
‘id’ => ‘hide_price’,
‘wrapper_class’ => ‘show_if_simple’,
‘label’ => __(‘Cover Worth’, ‘woocommerce’ ),
‘description’ => __(‘Examine this field to cover the worth of the product on the front-end.’, ‘woocommerce’ )
)
);
echo ‘</div>’;
}

🔥 Hot and trending web hostings deals 🔥

HostingsCoupons.com - Web Hostings Coupons, Sales, Deals and Discounts
Logo