PluginProbe
Tiered Pricing Table for WooCommerce / 2.3.2
Tiered Pricing Table for WooCommerce v2.3.2
7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 All 90 releases
tier-pricing-table / licence-init.php

licence-init.php in Tiered Pricing Table for WooCommerce 2.3.2, at licence-init.php

46 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 if ( !function_exists( 'tpt_fs' ) ) {
8 // Create a helper function for easy SDK access.
9 function tpt_fs()
10 {
11 global $tpt_fs ;
12
13 if ( !isset( $tpt_fs ) ) {
14 // Include Freemius SDK.
15 require_once dirname( __FILE__ ) . '/freemius/start.php';
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 }
37
38 return $tpt_fs;
39 }
40
41 // Init Freemius.
42 tpt_fs();
43 // Signal that SDK was initiated.
44 do_action( 'tpt_fs_loaded' );
45 }
46