PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 1.3.3
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v1.3.3
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / freemius.php

freemius.php in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 1.3.3, at freemius.php

42 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! function_exists( 'blockspare_fs' ) ) {
3 // Create a helper function for easy SDK access.
4 function blockspare_fs() {
5 global $blockspare_fs;
6
7 if ( ! isset( $blockspare_fs ) ) {
8 // Include Freemius SDK.
9 require_once dirname(__FILE__) . '/freemius/start.php';
10
11 $blockspare_fs = fs_dynamic_init( array(
12 'id' => '5840',
13 'slug' => 'blockspare',
14 'premium_slug' => 'blockspare-pro',
15 'type' => 'plugin',
16 'public_key' => 'pk_d67f7ce3f4642fcd5999502d0ac11',
17 'is_premium' => false,
18 'premium_suffix' => 'Pro',
19 'has_premium_version' => true,
20 'has_addons' => false,
21 'has_paid_plans' => true,
22 'menu' => array(
23 'slug' => 'blockspare',
24 'first-path' => 'admin.php?page=blockspare',
25 'account' => true,
26 'pricing' => true,
27 'contact' => true,
28 ),
29 // Set the SDK to work in a sandbox mode (for development & testing).
30 // IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT.
31 'secret_key' => 'sk_6~#*wZ3r~OBg=n01{1HY-#vGeiw[7',
32 ) );
33 }
34
35 return $blockspare_fs;
36 }
37
38 // Init Freemius.
39 blockspare_fs();
40 // Signal that SDK was initiated.
41 do_action( 'blockspare_fs_loaded' );
42 }