Plugin Directory

Changeset 2421321


Ignore:
Timestamp:
11/19/2020 07:52:39 AM (5 years ago)
Author:
botpenguinbot
Message:

freemius integrated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • botpenguinbot/trunk/botpenguin.php

    r2421318 r2421321  
    1111 */
    1212
    13 if ( ! function_exists( 'htt_fs' ) ) {
     13if ( ! function_exists( 'botpenguin_fs' ) ) {
    1414// Create a helper function for easy SDK access.
    15     function htt_fs() {
    16         global $htt_fs;
     15    function botpenguin_fs() {
     16        global $botpenguin_fs;
    1717
    18         if ( ! isset( $htt_fs ) ) {
     18        if ( ! isset( $botpenguin_fs ) ) {
    1919// Include Freemius SDK.
    2020            require_once dirname(__FILE__) . '/freemius/start.php';
    2121
    22             $htt_fs = fs_dynamic_init( array(
     22            $botpenguin_fs = fs_dynamic_init( array(
    2323                'id' => '7242',
    2424                'slug' => 'httpswordpressorgpluginsbotpenguinbot',
     
    3232                    'account' => false,
    3333                    'support' => false,
    34                     'network' => true,
     34                    'parent' => array(
     35                        'slug' => 'tools.php',
     36                    ),
    3537                ),
    3638            ) );
    3739        }
    3840
    39         return $htt_fs;
     41        return $botpenguin_fs;
    4042    }
    4143
    4244// Init Freemius.
    43     htt_fs();
     45    botpenguin_fs();
    4446// Signal that SDK was initiated.
    45     do_action( 'htt_fs_loaded' );
     47    do_action( 'botpenguin_fs_loaded' );
    4648}
    4749
Note: See TracChangeset for help on using the changeset viewer.