PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
b-blocks / includes / FInit.php

FInit.php in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.8, at includes/FInit.php

44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 if ( !function_exists( 'b_blocks_fs' ) ) {
7 // Create a helper function for easy SDK access.
8 function b_blocks_fs() {
9 global $b_blocks_fs;
10 if ( !isset( $b_blocks_fs ) ) {
11 // Include Freemius SDK.
12 require_once B_BLOCKS_DIR_PATH . 'freemius/start.php';
13 $b_blocks_fs = fs_dynamic_init( array(
14 'id' => '12845',
15 'slug' => 'b-blocks',
16 'premium_slug' => 'b-blocks-pro',
17 'type' => 'plugin',
18 'public_key' => 'pk_d6426b344df4918bc066a7a0b4719',
19 'is_premium' => false,
20 'premium_suffix' => 'Pro',
21 'has_addons' => false,
22 'has_paid_plans' => true,
23 'trial' => array(
24 'days' => 7,
25 'is_require_payment' => true,
26 ),
27 'menu' => array(
28 'slug' => 'b-blocks',
29 'first-path' => 'admin.php?page=b-blocks',
30 'contact' => false,
31 'support' => false,
32 ),
33 'is_live' => true,
34 'is_org_compliant' => true,
35 ) );
36 }
37 return $b_blocks_fs;
38 }
39
40 // Init Freemius.
41 b_blocks_fs();
42 // Signal that SDK was initiated.
43 do_action( 'b_blocks_fs_loaded' );
44 }