Funesto
New member
- May 11, 2019
- 29
- 8
- 3
Hello!
I downloaded this free plug-in but I guess that there is inside also the premium version. Now I am curious .. how would you begin trying to null this?
I have this piece of code
and as you can see I just turned "is premium" to true but of course is not enough! Do that "Public Key" has a role in this?
Which are steps to try to null something?
Thanks!
I downloaded this free plug-in but I guess that there is inside also the premium version. Now I am curious .. how would you begin trying to null this?
I have this piece of code
Code:
if ( !isset( $gt_fs ) ) {
// Activate multisite network integration.
if ( !defined( 'WP_FS__PRODUCT_594_MULTISITE' ) ) {
define( 'WP_FS__PRODUCT_594_MULTISITE', true );
}
require_once dirname( __FILE__ ) . '/vendor/freemius/wordpress-sdk/start.php';
$gt_fs = fs_dynamic_init( array(
'id' => '594',
'slug' => 'glossary-by-codeat',
'type' => 'plugin',
'public_key' => 'pk_229177eead299a4c9212f5837675e',
'is_premium' => true,
'has_addons' => true,
'has_paid_plans' => false,
'menu' => array(
'slug' => 'glossary',
'contact' => false,
'parent' => array(
'slug' => 'edit.php?post_type=glossary',
),
),
'is_live' => true,
) );
if ( $gt_fs->is_premium() ) {
add_action( 'init', static function () {
load_plugin_textdomain( GT_TEXTDOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
} );
$gt_fs->add_filter( 'support_forum_url', static function ( $wp_org_support_forum_url ) {
//phpcs:ignore
return 'http://support.codeat.co/';
} );
}
}
and as you can see I just turned "is premium" to true but of course is not enough! Do that "Public Key" has a role in this?
Which are steps to try to null something?
Thanks!