PluginProbe
AF Companion – Starter Sites, Speed Booster & Growth Suite for Professional Publishing / trunk
AF Companion – Starter Sites, Speed Booster & Growth Suite for Professional Publishing vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.2.7
af-companion / freemius.php

freemius.php in AF Companion – Starter Sites, Speed Booster & Growth Suite for Professional Publishing trunk, at freemius.php

36 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! function_exists( 'afcompanion_fs' ) ) {
3 // Create a helper function for easy SDK access.
4 function afcompanion_fs() {
5 global $afcompanion_fs;
6
7 if ( ! isset( $afcompanion_fs ) ) {
8 // Include Freemius SDK.
9 require_once dirname(__FILE__) . '/freemius/start.php';
10
11 $afcompanion_fs = fs_dynamic_init( array(
12 'id' => '7637',
13 'slug' => 'all_themes_plan',
14 'premium_slug' => 'all_themes_plan',
15 'type' => 'bundle',
16 'public_key' => 'pk_5f4c56aa7d0bac4236a8e650bb520',
17 'is_premium' => false,
18 'is_premium_only' => false,
19 'has_addons' => false,
20 'has_paid_plans' => true,
21 'menu' => array(
22 'slug' => 'af-companion',
23 'first-path' => 'admin.php?page=af-companion',
24 'support' => false,
25 ),
26 ) );
27 }
28
29 return $afcompanion_fs;
30 }
31
32 // Init Freemius.
33 afcompanion_fs();
34 // Signal that SDK was initiated.
35 do_action( 'afcompanion_fs_loaded' );
36 }