Changeset 2220245
- Timestamp:
- 12/31/2019 06:39:32 PM (6 years ago)
- Location:
- woo-license-keys/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (3 diffs)
-
app/Config/app.php (modified) (1 diff)
-
app/Controllers/WooCommerceController.php (modified) (2 diffs)
-
plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-license-keys/trunk/README.txt
r2215870 r2220245 6 6 Requires PHP: 5.4 7 7 Tested up to: 5.3 8 Stable tag: 1.3. 68 Stable tag: 1.3.7 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 22 22 == License Keys == 23 23 24 ** *License Keys* will be generated automatically when a WooCommerce order is completed, the code is appended in the "Order completed" email notification sent by WooCommerce. Each License Key data is generated per product configuration. The License Key product type will add a new options tab that will allow you to:24 **License Keys** will be generated automatically when a WooCommerce order is completed, the code is appended in the "Order completed" email notification sent by WooCommerce. Each License Key data is generated per product configuration. The License Key product type will add a new options tab that will allow you to: 25 25 26 26 * **Expire options**: Set the expiration of a license key. … … 85 85 == Changelog == 86 86 87 = 1.3.7 = 88 *Release Date - 31 Dec 2019* 89 90 * Added filter `woocommerce_license_keys_generate_for_order`. 91 * Updated bold markup typo on readme text. 92 87 93 = 1.3.6 = 88 94 *Release Date - 20 Dec 2019* -
woo-license-keys/trunk/app/Config/app.php
r2215870 r2220245 19 19 ], 20 20 21 'version' => '1.3. 6',21 'version' => '1.3.7', 22 22 23 23 'localize' => [ -
woo-license-keys/trunk/app/Controllers/WooCommerceController.php
r2215470 r2220245 18 18 * @license GPLv3 19 19 * @package woo-license-keys 20 * @version 1.3. 520 * @version 1.3.7 21 21 */ 22 22 class WooCommerceController extends Controller … … 165 165 // Check if key must be generated or not 166 166 $generate = wc_get_order_item_meta( $item->get_id(), '_license_key_generate', true ); 167 $generate = apply_filters( 'woocommerce_license_keys_generate_for_order', $generate, $order, $item ); 167 168 if ( $generate === null || $generate === '' ) { 168 169 $product_id = apply_filters( -
woo-license-keys/trunk/plugin.php
r2215870 r2220245 4 4 Plugin URI: https://www.10quality.com/product/woocommerce-license-keys/ 5 5 Description: Enable and handle "License Keys" with WooCommerce. 6 Version: 1.3. 66 Version: 1.3.7 7 7 Author: 10 Quality 8 8 Author URI: https://www.10quality.com/ … … 46 46 global $woocommerce; 47 47 if ( isset( $woocommerce ) ) { 48 require_once __DIR__ .'/app/Global/WC_Product_License_Key.php';48 require_once __DIR__ . '/app/Global/WC_Product_License_Key.php'; 49 49 } else { 50 50 // Add admin notice.
Note: See TracChangeset
for help on using the changeset viewer.