Changeset 2784489
- Timestamp:
- 09/14/2022 09:17:27 AM (4 years ago)
- Location:
- embed-docs
- Files:
-
- 2 edited
-
tags/2.0/file_uploader.php (modified) (1 diff)
-
trunk/file_uploader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
embed-docs/tags/2.0/file_uploader.php
r2784387 r2784489 18 18 } 19 19 20 if ( ! function_exists( 'ed_fs' ) ) {21 // Create a helper function for easy SDK access.22 function ed_fs() {23 global $ed_fs;24 20 25 if ( ! isset( $ed_fs ) ) {26 // Include Freemius SDK.27 require_once dirname(__FILE__) . '/freemius/start.php';28 29 $ed_fs = fs_dynamic_init( array(30 'id' => '10963',31 'slug' => 'embed-docs',32 'type' => 'plugin',33 'public_key' => 'pk_91386343739dc7b0e242898e72bce',34 'is_premium' => false,35 'has_addons' => false,36 'has_paid_plans' => false,37 'menu' => array(38 'slug' => 'embed-docs',39 'account' => false,40 'support' => false,41 ),42 ) );43 }44 45 return $ed_fs;46 }47 48 // Init Freemius.49 ed_fs();50 // Signal that SDK was initiated.51 do_action( 'ed_fs_loaded' );52 }53 54 21 55 22 function file_uploader_custom_block_script_register() -
embed-docs/trunk/file_uploader.php
r2784387 r2784489 17 17 exit; 18 18 } 19 20 if ( ! function_exists( 'ed_fs' ) ) {21 // Create a helper function for easy SDK access.22 function ed_fs() {23 global $ed_fs;24 25 if ( ! isset( $ed_fs ) ) {26 // Include Freemius SDK.27 require_once dirname(__FILE__) . '/freemius/start.php';28 29 $ed_fs = fs_dynamic_init( array(30 'id' => '10963',31 'slug' => 'embed-docs',32 'type' => 'plugin',33 'public_key' => 'pk_91386343739dc7b0e242898e72bce',34 'is_premium' => false,35 'has_addons' => false,36 'has_paid_plans' => false,37 'menu' => array(38 'slug' => 'embed-docs',39 'account' => false,40 'support' => false,41 ),42 ) );43 }44 45 return $ed_fs;46 }47 48 // Init Freemius.49 ed_fs();50 // Signal that SDK was initiated.51 do_action( 'ed_fs_loaded' );52 }53 54 19 55 20 function file_uploader_custom_block_script_register()
Note: See TracChangeset
for help on using the changeset viewer.