cf7-grid-and-styler-for-divi
Last commit date
freemius
1 year ago
includes
1 year ago
js
1 year ago
languages
1 year ago
resources
1 year ago
scripts
1 year ago
styles
1 year ago
vendor
1 year ago
cf7-grid-and-styler-for-divi.php
1 year ago
freemius.php
1 year ago
readme.txt
1 year ago
freemius.php
40 lines
| 1 | <?php |
| 2 | |
| 3 | if ( !function_exists( 'wpt_cgasfd_fs' ) ) { |
| 4 | // Create a helper function for easy SDK access. |
| 5 | function wpt_cgasfd_fs() { |
| 6 | global $wpt_cgasfd_fs; |
| 7 | if ( !isset( $wpt_cgasfd_fs ) ) { |
| 8 | // Include Freemius SDK. |
| 9 | require_once dirname( __FILE__ ) . '/freemius/start.php'; |
| 10 | $wpt_cgasfd_fs = fs_dynamic_init( [ |
| 11 | 'id' => '5759', |
| 12 | 'slug' => 'cf7-grid-and-styler-for-divi', |
| 13 | 'type' => 'plugin', |
| 14 | 'public_key' => 'pk_bd2ee44c28731d45cc6d6255f9409', |
| 15 | 'is_premium' => false, |
| 16 | 'premium_suffix' => 'Premium', |
| 17 | 'has_addons' => false, |
| 18 | 'has_paid_plans' => true, |
| 19 | 'trial' => [ |
| 20 | 'days' => 7, |
| 21 | 'is_require_payment' => false, |
| 22 | ], |
| 23 | 'menu' => [ |
| 24 | 'slug' => 'cf7-grid-and-styler-for-divi', |
| 25 | 'support' => false, |
| 26 | 'parent' => [ |
| 27 | 'slug' => 'wpcf7', |
| 28 | ], |
| 29 | ], |
| 30 | 'is_live' => true, |
| 31 | ] ); |
| 32 | } |
| 33 | return $wpt_cgasfd_fs; |
| 34 | } |
| 35 | |
| 36 | // Init Freemius. |
| 37 | wpt_cgasfd_fs(); |
| 38 | // Signal that SDK was initiated. |
| 39 | do_action( 'wpt_cgasfd_fs_loaded' ); |
| 40 | } |