'300', // px 'height' => '300', // px 'crop' => 1 // true ); $single = array( 'width' => '451', // px 'height' => '451', // px 'crop' => 1 // true ); $thumbnail = array( 'width' => '120', // px 'height' => '120', // px 'crop' => 0 // false ); // Image sizes update_option( 'shop_catalog_image_size', $catalog ); // Product category thumbs update_option( 'shop_single_image_size', $single ); // Single product image update_option( 'shop_thumbnail_image_size', $thumbnail ); // Image gallery thumbs } function airship_woocommerce_template_product_description() { woocommerce_get_template( 'single-product/tabs/description.php' ); } function airship_woocommerce_remove_product_tabs( $tabs ) { unset( $tabs['description'] ); // Remove the description tab unset( $tabs['reviews'] ); // Remove the reviews tab unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; } function airship_woocommerce_remove_reviews_tab($tabs) { unset($tabs['reviews']); return $tabs; } function airship_woocommerce_change_breadcrumb_delimiter( $defaults ) { // Change the breadcrumb delimeter from '/' to '>' $defaults['delimiter'] = '  →  '; return $defaults; } function airship_woocommerce_custom_override_checkout_fields( $fields ) { unset($fields['billing']['billing_phone']); unset($fields['billing']['billing_company']); unset($fields['billing']['billing_city']); return $fields; } ?>