Blog Archives

Disable WooCommerce Marketing menu

Add the following code to the functions.php of your active theme. add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ ); This will remove the following Marketing menu added in WooCommerce 4.0

Posted in WordPress Tagged with: ,

Add Bootstrap4 Form Styling To WooCommerce Checkout Fields

Add the following code to functions.php or to a custom plugin to style WooCommerce checkout form fields with sweet Bootstrap 4 styling. /** * Add Bootstrap form styling to WooCommerce fields * * @since  1.0 * @refer  http://bit.ly/2zWFMiq */ function iap_wc_bootstrap_form_field_args ($args,

Posted in WordPress Tagged with: , , ,