Plugin Directory

Changeset 2426526


Ignore:
Timestamp:
11/26/2020 12:00:10 PM (5 years ago)
Author:
botpenguinbot
Message:

freemius removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • botpenguinbot/trunk/botpenguin.php

    r2421321 r2426526  
    1111 */
    1212
    13 if ( ! function_exists( 'botpenguin_fs' ) ) {
    14 // Create a helper function for easy SDK access.
    15     function botpenguin_fs() {
    16         global $botpenguin_fs;
    17 
    18         if ( ! isset( $botpenguin_fs ) ) {
    19 // Include Freemius SDK.
    20             require_once dirname(__FILE__) . '/freemius/start.php';
    21 
    22             $botpenguin_fs = fs_dynamic_init( array(
    23                 'id' => '7242',
    24                 'slug' => 'httpswordpressorgpluginsbotpenguinbot',
    25                 'type' => 'plugin',
    26                 'public_key' => 'pk_bd991ee277efdde20b0dda27ff512',
    27                 'is_premium' => false,
    28                 'has_addons' => false,
    29                 'has_paid_plans' => false,
    30                 'menu' => array(
    31                     'slug' => 'httpswordpressorgpluginsbotpenguinbot',
    32                     'account' => false,
    33                     'support' => false,
    34                     'parent' => array(
    35                         'slug' => 'tools.php',
    36                     ),
    37                 ),
    38             ) );
    39         }
    40 
    41         return $botpenguin_fs;
    42     }
    43 
    44 // Init Freemius.
    45     botpenguin_fs();
    46 // Signal that SDK was initiated.
    47     do_action( 'botpenguin_fs_loaded' );
    48 }
    4913
    5014add_action('wp_head', 'BOTPENGUIN_function');
Note: See TracChangeset for help on using the changeset viewer.