Changeset 2914725
- Timestamp:
- 05/19/2023 10:38:01 AM (3 years ago)
- File:
-
- 1 edited
-
w3s-cf7-zoho/trunk/w3s-cf7-zoho.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
w3s-cf7-zoho/trunk/w3s-cf7-zoho.php
r2907922 r2914725 25 25 } 26 26 27 if ( ! function_exists( 'w3sccf7z_fs' ) ) {28 // Create a helper function for easy SDK access.29 function w3sccf7z_fs() {30 global $w3sccf7z_fs;27 // if ( ! function_exists( 'w3sccf7z_fs' ) ) { 28 // // Create a helper function for easy SDK access. 29 // function w3sccf7z_fs() { 30 // global $w3sccf7z_fs; 31 31 32 if ( ! isset( $w3sccf7z_fs ) ) {33 // Include Freemius SDK.34 require_once dirname( __FILE__ ) . '/freemius/start.php';32 // if ( ! isset( $w3sccf7z_fs ) ) { 33 // // Include Freemius SDK. 34 // require_once dirname( __FILE__ ) . '/freemius/start.php'; 35 35 36 $w3sccf7z_fs = fs_dynamic_init(37 array(38 'id' => '8858',39 'slug' => 'w3s-cf7-zoho',40 'premium_slug' => 'w3s-cf7-zoho-premium',41 'type' => 'plugin',42 'public_key' => 'pk_472c69ca65f1be708ce325706ae1b',43 'is_premium' => false,44 'has_addons' => false,45 // If your plugin is a serviceware, set this option to false.46 'has_premium_version' => false,47 'has_paid_plans' => false,48 'is_org_compliant' => false,49 'menu' => array(50 'first-path' => 'edit.php?post_type=w3s_cf7&page=w3s-cf7-zoho',51 'account' => false,52 'contact' => false,53 'support' => false,54 'slug' => 'w3s-cf7-zoho',55 'parent' => array(56 'slug' => 'edit.php?post_type=w3s_cf7',57 ),58 ),59 // Set the SDK to work in a sandbox mode (for development & testing).60 // IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT.61 // 'secret_key' => 'sk_ubb4yN3mzqGR2x8#P7r5&@*xC$utE',62 )63 );64 }36 // $w3sccf7z_fs = fs_dynamic_init( 37 // array( 38 // 'id' => '8858', 39 // 'slug' => 'w3s-cf7-zoho', 40 // 'premium_slug' => 'w3s-cf7-zoho-premium', 41 // 'type' => 'plugin', 42 // 'public_key' => 'pk_472c69ca65f1be708ce325706ae1b', 43 // 'is_premium' => false, 44 // 'has_addons' => false, 45 // // If your plugin is a serviceware, set this option to false. 46 // 'has_premium_version' => false, 47 // 'has_paid_plans' => false, 48 // 'is_org_compliant' => false, 49 // 'menu' => array( 50 // 'first-path' => 'edit.php?post_type=w3s_cf7&page=w3s-cf7-zoho', 51 // 'account' => false, 52 // 'contact' => false, 53 // 'support' => false, 54 // 'slug' => 'w3s-cf7-zoho', 55 // 'parent' => array( 56 // 'slug' => 'edit.php?post_type=w3s_cf7', 57 // ), 58 // ), 59 // // Set the SDK to work in a sandbox mode (for development & testing). 60 // // IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT. 61 // // 'secret_key' => 'sk_ubb4yN3mzqGR2x8#P7r5&@*xC$utE', 62 // ) 63 // ); 64 // } 65 65 66 return $w3sccf7z_fs;67 }66 // return $w3sccf7z_fs; 67 // } 68 68 69 // Init Freemius.70 w3sccf7z_fs();71 // Signal that SDK was initiated.72 do_action( 'w3sccf7z_fs_loaded' );73 }69 // // Init Freemius. 70 // w3sccf7z_fs(); 71 // // Signal that SDK was initiated. 72 // do_action( 'w3sccf7z_fs_loaded' ); 73 // } 74 74 75 75 /**
Note: See TracChangeset
for help on using the changeset viewer.