🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-06 23:17:04 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
themes
/
blocksy
/
inc
/
classes
/
db-versioning
📍 /home/eliteewa/public_html/wp-content/themes/blocksy/inc/classes/db-versioning
🔄 Refresh
✏️
Editing: v2-1-10.php
Writable
<?php namespace Blocksy\DbVersioning; class V2110 { public function migrate() { if ( ! function_exists('wc_get_attribute_taxonomies') || ! class_exists('\Blocksy\Plugin') || ! in_array( 'woocommerce-extra', get_option('blocksy_active_extensions', []) ) ) { return; } $settings = get_option('blocksy_ext_woocommerce_extra_settings', []); if (! is_array($settings)) { return; } if ( ! isset($settings['features']['free-shipping']) || ! $settings['features']['free-shipping'] ) { return; } $woo_count_with_discount = get_theme_mod( 'woo_count_with_discount', '__empty__' ); if ($woo_count_with_discount === '__empty__') { return; } if ($woo_count_with_discount === 'exclude') { set_theme_mod('woo_count_with_discount', 'no'); } else { set_theme_mod('woo_count_with_discount', 'yes'); } } }
💾 Save Changes
❌ Cancel