| 1 |
<?php |
| 2 |
|
| 3 |
// Create a helper function for easy SDK access. |
| 4 |
function premmerce_pwk_fs() |
| 5 |
{ |
| 6 |
global $premmerce_pwk_fs ; |
| 7 |
|
| 8 |
if ( !isset( $premmerce_pwk_fs ) ) { |
| 9 |
// Include Freemius SDK. |
| 10 |
require_once dirname( __FILE__ ) . '/freemius/start.php'; |
| 11 |
$premmerce_pwk_fs = fs_dynamic_init( array( |
| 12 |
'id' => '1527', |
| 13 |
'slug' => 'premmerce', |
| 14 |
'type' => 'plugin', |
| 15 |
'public_key' => 'pk_75ce3208e2d74bfed236c81fe557e', |
| 16 |
'is_premium' => false, |
| 17 |
'has_addons' => false, |
| 18 |
'has_paid_plans' => true, |
| 19 |
'trial' => array( |
| 20 |
'days' => 7, |
| 21 |
'is_require_payment' => true, |
| 22 |
), |
| 23 |
'menu' => array( |
| 24 |
'slug' => 'premmerce', |
| 25 |
'support' => false, |
| 26 |
), |
| 27 |
'is_live' => true, |
| 28 |
) ); |
| 29 |
} |
| 30 |
|
| 31 |
return $premmerce_pwk_fs; |
| 32 |
} |
| 33 |
|
| 34 |
// Init Freemius. |
| 35 |
premmerce_pwk_fs(); |
| 36 |
// Signal that SDK was initiated. |
| 37 |
do_action( 'premmerce_pwk_fs_loaded' ); |