Changeset 2426526
- Timestamp:
- 11/26/2020 12:00:10 PM (5 years ago)
- File:
-
- 1 edited
-
botpenguinbot/trunk/botpenguin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
botpenguinbot/trunk/botpenguin.php
r2421321 r2426526 11 11 */ 12 12 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 }49 13 50 14 add_action('wp_head', 'BOTPENGUIN_function');
Note: See TracChangeset
for help on using the changeset viewer.