PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.2
YayMail – WooCommerce Email Customizer v4.3.2
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
← All changes | src/Models/SettingModel.php +2 -4 trunk4.3.2 View file →
@@ -28,10 +28,9 @@
28 28 'show_product_regular_price' => 'show_product_regular_price',
29 29 'show_product_item_cost' => 'show_product_item_cost',
30 30 'enable_custom_css' => 'enable_custom_css',
31 31 'custom_css' => 'custom_css',
32 - 'global_header_footer_enabled' => 'global_header_footer_enabled',
33 - 'wp_global_header_footer_enabled' => 'wp_global_header_footer_enabled',
32 + 'global_header_footer_enabled' => 'global_header_footer_enabled',
34 33 ];
35 34
36 35 // TODO: change variable name to be more meaning in db ( when initialize )
37 36 const DEFAULT = [
@@ -48,10 +47,9 @@
48 47 self::META_KEYS['show_product_regular_price'] => false,
49 48 self::META_KEYS['show_product_item_cost'] => false,
50 49 self::META_KEYS['enable_custom_css'] => false,
51 50 self::META_KEYS['custom_css'] => '',
52 - self::META_KEYS['global_header_footer_enabled'] => false,
53 - self::META_KEYS['wp_global_header_footer_enabled'] => false,
51 + self::META_KEYS['global_header_footer_enabled'] => false,
54 52 ];
55 53
56 54 public static function find_by_name( $name ) {
57 55 $settings = self::find_all();