| @@ -12,28 +12,28 @@ | ||
| 12 | 12 | |
| 13 | 13 | if ( !isset( $tpt_fs ) ) { |
| 14 | 14 | // Include Freemius SDK. |
| 15 | 15 | require_once dirname( __FILE__ ) . '/freemius/start.php'; |
| 16 | - try { | |
| 17 | - $tpt_fs = fs_dynamic_init( array( | |
| 18 | - 'id' => '3433', | |
| 19 | - 'slug' => 'tier-pricing-table', | |
| 20 | - 'type' => 'plugin', | |
| 21 | - 'public_key' => 'pk_d9f80d20e4c964001b87a062cd2b7', | |
| 22 | - 'is_premium' => false, | |
| 23 | - 'premium_suffix' => 'Premium', | |
| 24 | - 'has_addons' => false, | |
| 25 | - 'has_paid_plans' => true, | |
| 26 | - 'menu' => array( | |
| 27 | - 'first-path' => 'admin.php?page=wc-settings&tab=tiered_pricing_table_settings', | |
| 28 | - 'contact' => false, | |
| 29 | - 'support' => false, | |
| 30 | - ), | |
| 31 | - 'is_live' => true, | |
| 32 | - ) ); | |
| 33 | - } catch ( Freemius_Exception $e ) { | |
| 34 | - log( $e->getMessage() ); | |
| 35 | - } | |
| 16 | + $tpt_fs = fs_dynamic_init( array( | |
| 17 | + 'id' => '3433', | |
| 18 | + 'slug' => 'tier-pricing-table', | |
| 19 | + 'type' => 'plugin', | |
| 20 | + 'public_key' => 'pk_d9f80d20e4c964001b87a062cd2b7', | |
| 21 | + 'is_premium' => false, | |
| 22 | + 'premium_suffix' => 'Premium', | |
| 23 | + 'has_addons' => false, | |
| 24 | + 'has_paid_plans' => true, | |
| 25 | + 'trial' => array( | |
| 26 | + 'days' => 7, | |
| 27 | + 'is_require_payment' => true, | |
| 28 | + ), | |
| 29 | + 'menu' => array( | |
| 30 | + 'first-path' => 'admin.php?page=wc-settings&tab=tiered_pricing_table_settings', | |
| 31 | + 'contact' => false, | |
| 32 | + 'support' => false, | |
| 33 | + ), | |
| 34 | + 'is_live' => true, | |
| 35 | + ) ); | |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | return $tpt_fs; |
| 39 | 39 | } |