# blockspare/3.1.1/freemius.php

BlockSpare – Gutenberg Blocks for News, Magazine, Blog &amp; Business Websites, version 3.1.1. 41 lines.

- Page: https://pluginprobe.com/plugins/blockspare/3.1.1/code/freemius.php
- Raw: https://pluginprobe.com/plugins/blockspare/3.1.1/raw/freemius.php
- Modified: 2024-02-07T07:01:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockspare/3.1.1/code/freemius.php#L10-L20`.

```php
<?php
if ( ! function_exists( 'blockspare_fs' ) ) {
    // Create a helper function for easy SDK access.
    function blockspare_fs() {
        global $blockspare_fs;

        if ( ! isset( $blockspare_fs ) ) {
            // Include Freemius SDK.
            require_once dirname(__FILE__) . '/freemius/start.php';

           

            $blockspare_fs = fs_dynamic_init( array(
                'id'                  => '9379',
                'slug'                => 'blockspare-pro',
                'premium_slug'        => 'blockspare-pro',
                'type'                => 'plugin',
                'public_key'          => 'pk_29829adcdce7852dbe329f64cd6f3',
                'is_premium'          => false,
                'has_premium_version' => true,                
                'has_addons'          => false,
                'has_paid_plans'      => true,
                'menu'                => array(
                    'slug'           => 'blockspare',
                    'first-path'     => 'admin.php?page=blockspare',
                    'account'    => true,
                    'pricing'    => true,
                    'contact'    => true,
                    'support'    => false,
                )                
            ) );
        }

        return $blockspare_fs;
    }

    // Init Freemius.
    blockspare_fs();
    // Signal that SDK was initiated.
    do_action( 'blockspare_fs_loaded' );
}
```
