5
5
* Description: Customize WooCommerce without code! Easily change add to cart button text and more.
6
6
* Author: SkyVerge
7
7
* Author URI: http://www.skyverge.com
8
- * Version: 1.2.1
8
+ * Version: 2.0.0
9
9
* Text Domain: wc-customizer
10
10
* Domain Path: /languages/
11
11
*
12
- * Copyright: (c) 2013 SkyVerge, Inc. ([email protected] )
12
+ * Copyright: (c) 2013-2014 SkyVerge, Inc. ([email protected] )
13
13
*
14
14
* License: GNU General Public License v3.0
15
15
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
16
16
*
17
17
* @package WC-Customizer
18
18
* @author SkyVerge
19
19
* @category Utility
20
- * @copyright Copyright (c) 2013, SkyVerge, Inc.
20
+ * @copyright Copyright (c) 2013-2014 , SkyVerge, Inc.
21
21
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
22
*/
23
23
@@ -84,7 +84,10 @@ class WC_Customizer {
84
84
85
85
86
86
/** plugin version number */
87
- const VERSION = '1.2.1 ' ;
87
+ const VERSION = '1.2.0.1 ' ;
88
+
89
+ /** @var \WC_Customizer_Settings instance */
90
+ public $ settings ;
88
91
89
92
/** var array the active filters */
90
93
public $ filters ;
@@ -93,7 +96,7 @@ class WC_Customizer {
93
96
/**
94
97
* Initializes the plugin
95
98
*
96
- * @since 1.0
99
+ * @since 1.0.0
97
100
*/
98
101
public function __construct () {
99
102
@@ -120,7 +123,7 @@ public function __construct() {
120
123
/**
121
124
* Add settings page
122
125
*
123
- * @since 1.2.1-1
126
+ * @since 2.0.0
124
127
* @param array $settings
125
128
* @return array
126
129
*/
@@ -134,7 +137,7 @@ public function add_settings_page( $settings ) {
134
137
/**
135
138
* Load customizations after WC is loaded so the version can be checked
136
139
*
137
- * @since 1.2
140
+ * @since 1.2.0
138
141
*/
139
142
public function load_customizations () {
140
143
@@ -170,7 +173,7 @@ public function load_customizations() {
170
173
/**
171
174
* Handle localization, WPML compatible
172
175
*
173
- * @since 1.1
176
+ * @since 1.1.0
174
177
*/
175
178
public function load_translation () {
176
179
@@ -185,7 +188,7 @@ public function load_translation() {
185
188
/**
186
189
* Add hook to selected filters
187
190
*
188
- * @since 1.0
191
+ * @since 1.0.0
189
192
* @return string $filter_value value to use for selected hook
190
193
*/
191
194
public function customize () {
@@ -212,7 +215,7 @@ public function customize() {
212
215
/**
213
216
* Apply the single add to cart button text customization
214
217
*
215
- * @since 1.2
218
+ * @since 1.2.0
216
219
*/
217
220
public function customize_single_add_to_cart_text () {
218
221
@@ -223,7 +226,7 @@ public function customize_single_add_to_cart_text() {
223
226
/**
224
227
* Apply the shop loop add to cart button text customization
225
228
*
226
- * @since 1.2
229
+ * @since 1.2.0
227
230
* @param string $text add to cart text
228
231
* @param WC_Product $product product object
229
232
* @return string modified add to cart text
@@ -268,7 +271,7 @@ public function customize_add_to_cart_text( $text, $product ) {
268
271
* Return the plugin action links. This will only be called if the plugin
269
272
* is active.
270
273
*
271
- * @since 1.0
274
+ * @since 1.0.0
272
275
* @param array $actions associative array of action names to anchor tags
273
276
* @return array associative array of plugin action links
274
277
*/
@@ -291,7 +294,7 @@ public function add_plugin_action_links( $actions ) {
291
294
/**
292
295
* Run every time. Used since the activation hook is not executed when updating a plugin
293
296
*
294
- * @since 1.1
297
+ * @since 1.1.0
295
298
*/
296
299
private function install () {
297
300
@@ -314,7 +317,7 @@ private function install() {
314
317
/**
315
318
* Perform any version-related changes.
316
319
*
317
- * @since 1.1
320
+ * @since 1.1.0
318
321
* @param int $installed_version the currently installed version of the plugin
319
322
*/
320
323
private function upgrade ( $ installed_version ) {
0 commit comments