Plugin Directory

Changeset 2914725


Ignore:
Timestamp:
05/19/2023 10:38:01 AM (3 years ago)
Author:
w3scloud
Message:

bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • w3s-cf7-zoho/trunk/w3s-cf7-zoho.php

    r2907922 r2914725  
    2525}
    2626
    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;
    3131
    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';
    3535
    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//      }
    6565
    66         return $w3sccf7z_fs;
    67     }
     66//      return $w3sccf7z_fs;
     67// }
    6868
    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// }
    7474
    7575/**
Note: See TracChangeset for help on using the changeset viewer.