Changeset 2914726
- Timestamp:
- 05/19/2023 10:38:39 AM (3 years ago)
- File:
-
- 1 edited
-
w3swoozoho/trunk/w3swoozoho.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
w3swoozoho/trunk/w3swoozoho.php
r2894227 r2914726 33 33 } 34 34 35 if ( ! function_exists( 'w3sc_woo_zoho' ) ) {36 // Create a helper function for easy SDK access.37 function w3sc_woo_zoho() {38 global $w3sc_woo_zoho;35 // if ( ! function_exists( 'w3sc_woo_zoho' ) ) { 36 // // Create a helper function for easy SDK access. 37 // function w3sc_woo_zoho() { 38 // global $w3sc_woo_zoho; 39 39 40 if ( ! isset( $w3sc_woo_zoho ) ) {41 // Include Freemius SDK.42 require_once dirname( __FILE__ ) . '/freemius/start.php';40 // if ( ! isset( $w3sc_woo_zoho ) ) { 41 // // Include Freemius SDK. 42 // require_once dirname( __FILE__ ) . '/freemius/start.php'; 43 43 44 $w3sc_woo_zoho = fs_dynamic_init(45 array(46 'id' => '8942',47 'slug' => 'w3swoozoho',48 // 'premium_slug' => 'w3swoozoho-premium',49 'type' => 'plugin',50 'public_key' => 'pk_7499bc4bb60ee8ca7b6b23846a543',51 'is_premium' => false,52 // If your plugin is a serviceware, set this option to false.53 'has_premium_version' => false,54 'has_paid_plans' => false,55 'is_org_compliant' => false,56 // 'menu' => array(57 // 'slug' => 'w3swoozoho',58 // 'parent' => array(59 // 'slug' => 'options-general.php',60 // ),61 // ),62 )63 );64 }44 // $w3sc_woo_zoho = fs_dynamic_init( 45 // array( 46 // 'id' => '8942', 47 // 'slug' => 'w3swoozoho', 48 // // 'premium_slug' => 'w3swoozoho-premium', 49 // 'type' => 'plugin', 50 // 'public_key' => 'pk_7499bc4bb60ee8ca7b6b23846a543', 51 // 'is_premium' => false, 52 // // If your plugin is a serviceware, set this option to false. 53 // 'has_premium_version' => false, 54 // 'has_paid_plans' => false, 55 // 'is_org_compliant' => false, 56 // // 'menu' => array( 57 // // 'slug' => 'w3swoozoho', 58 // // 'parent' => array( 59 // // 'slug' => 'options-general.php', 60 // // ), 61 // // ), 62 // ) 63 // ); 64 // } 65 65 66 return $w3sc_woo_zoho;67 }66 // return $w3sc_woo_zoho; 67 // } 68 68 69 // Init Freemius.70 w3sc_woo_zoho();71 // Signal that SDK was initiated.72 do_action( 'w3sc_woo_zoho_loaded' );73 }69 // // Init Freemius. 70 // w3sc_woo_zoho(); 71 // // Signal that SDK was initiated. 72 // do_action( 'w3sc_woo_zoho_loaded' ); 73 // } 74 74 75 75 /*----------------------------------------*/
Note: See TracChangeset
for help on using the changeset viewer.