PluginProbe ʕ •ᴥ•ʔ
Conditional Logic for Woo Product Add-ons / 2.2.3
Conditional Logic for Woo Product Add-ons v2.2.3
trunk 1.0.0 1.1.0 1.2.0 1.2.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.2.0 2.2.1 2.2.2 2.2.3
conditional-logic-for-woo-product-add-ons / license.php
conditional-logic-for-woo-product-add-ons Last commit date
assets 1 week ago freemius 1 week ago languages 2 years ago src 1 week ago vendor 3 years ago views 1 week ago changelog.txt 3 years ago conditional-logic-for-product-addons.php 1 week ago index.php 3 years ago license.php 1 week ago readme.txt 1 week ago
license.php
67 lines
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 if ( !function_exists( 'clfwpao_fs' ) ) {
7 // Create a helper function for easy SDK access.
8 function clfwpao_fs() {
9 global $clfwpao_fs;
10 if ( !isset( $clfwpao_fs ) ) {
11 // Include Freemius SDK.
12 require_once dirname( __FILE__ ) . '/freemius/start.php';
13 $clfwpao_fs = fs_dynamic_init( array(
14 'id' => '11637',
15 'slug' => 'conditional-logic-for-woocommerce-product-add-ons',
16 'type' => 'plugin',
17 'public_key' => 'pk_bd6b56da7db37dd322941425b35e5',
18 'is_premium' => false,
19 'premium_suffix' => 'Premium',
20 'has_addons' => false,
21 'has_paid_plans' => true,
22 'trial' => array(
23 'days' => 7,
24 'is_require_payment' => true,
25 ),
26 'menu' => array(
27 'first-path' => 'plugins.php',
28 'contact' => false,
29 'support' => false,
30 ),
31 'is_live' => true,
32 'is_org_compliant' => true,
33 ) );
34 }
35 return $clfwpao_fs;
36 }
37
38 // Init Freemius.
39 clfwpao_fs();
40 // Signal that SDK was initiated.
41 do_action( 'clfwpao_fs_loaded' );
42 }
43 add_action( 'admin_menu', function () {
44 // Account
45 add_submenu_page(
46 '___freemius',
47 __( 'Freemius Account', 'conditional-logic-for-product-addons' ),
48 __( 'Freemius Account', 'conditional-logic-for-product-addons' ),
49 'manage_options',
50 'clfwpao-account',
51 function () {
52 clfwpao_fs()->_account_page_load();
53 clfwpao_fs()->_account_page_render();
54 }
55 );
56 // Contact us
57 add_submenu_page(
58 '___freemius',
59 __( 'Contact Us', 'conditional-logic-for-product-addons' ),
60 __( 'Contact Us', 'conditional-logic-for-product-addons' ),
61 'manage_options',
62 'clfwpao-contact-us',
63 function () {
64 clfwpao_fs()->_contact_page_render();
65 }
66 );
67 } );