HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/delstar/wp-content/themes/construction/inc/woo-config.php
<?php
/**
 * WooCommerce plugin config
 *
 * @package WPCharming
 */

// Update product image sized.
function wpcharming_woo_thumb_sized() {
	$catalog = array('width'  => '350',	'height' => '400',  'crop'   => 1 );
	//$single  = array('width'  => '350',	'height' => '350',	'crop'   => 1 );
	$thumb   = array('width'  => '150',	'height' => '150',	'crop'   => 1 );
	update_option( 'shop_catalog_image_size', $catalog );
	update_option( 'shop_single_image_size', $catalog ); 
	update_option( 'shop_thumbnail_image_size', $thumb );
}
global $pagenow;
if ( is_admin() && isset( $_GET['activated'] ) && $pagenow == 'themes.php' ) {
	add_action( 'init', 'wpcharming_woo_thumb_sized', 1 );
}



// Hide the default shop title in content area.
add_filter('woocommerce_show_page_title', '__return_false');