Changeset 2421321
- Timestamp:
- 11/19/2020 07:52:39 AM (5 years ago)
- File:
-
- 1 edited
-
botpenguinbot/trunk/botpenguin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
botpenguinbot/trunk/botpenguin.php
r2421318 r2421321 11 11 */ 12 12 13 if ( ! function_exists( ' htt_fs' ) ) {13 if ( ! function_exists( 'botpenguin_fs' ) ) { 14 14 // Create a helper function for easy SDK access. 15 function htt_fs() {16 global $ htt_fs;15 function botpenguin_fs() { 16 global $botpenguin_fs; 17 17 18 if ( ! isset( $ htt_fs ) ) {18 if ( ! isset( $botpenguin_fs ) ) { 19 19 // Include Freemius SDK. 20 20 require_once dirname(__FILE__) . '/freemius/start.php'; 21 21 22 $ htt_fs = fs_dynamic_init( array(22 $botpenguin_fs = fs_dynamic_init( array( 23 23 'id' => '7242', 24 24 'slug' => 'httpswordpressorgpluginsbotpenguinbot', … … 32 32 'account' => false, 33 33 'support' => false, 34 'network' => true, 34 'parent' => array( 35 'slug' => 'tools.php', 36 ), 35 37 ), 36 38 ) ); 37 39 } 38 40 39 return $ htt_fs;41 return $botpenguin_fs; 40 42 } 41 43 42 44 // Init Freemius. 43 htt_fs();45 botpenguin_fs(); 44 46 // Signal that SDK was initiated. 45 do_action( ' htt_fs_loaded' );47 do_action( 'botpenguin_fs_loaded' ); 46 48 } 47 49
Note: See TracChangeset
for help on using the changeset viewer.