| @@ -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(); |