Skip to content

Instantly share code, notes, and snippets.

@namncn
Last active June 4, 2022 02:32
Show Gist options
  • Save namncn/3d8c3e23bb620cd3bd058f673a22e018 to your computer and use it in GitHub Desktop.
Save namncn/3d8c3e23bb620cd3bd058f673a22e018 to your computer and use it in GitHub Desktop.
Elementor: License
<?php
- /license/api.php: 28
private static function remote_post( $body_args = [] ) {
return array(
'success' => true,
'license' => 'valid',
'item_id' => false,
'item_name' => 'Elementor Pro',
'checksum' => 'd18890f8c194876c54e58d2f221e5332',
'expires' => 'lifetime',
'payment_id' => '5414958',
'customer_name' => 'Nam Trương',
'customer_email' => '[email protected]',
'license_limit' => 1000000000000000,
'site_count' => 1,
'activations_left' => 999999999999999,
'price_id' => 3,
'subscriptions' => 'enable',
'renewal_discount' => 100,
'requires' => '',
'new_version' => '',
);
}
- /license/admin.php: 108
public static function get_license_key() {
return 'namdeptrynhe';
}
Update:
- /license/api.php: 83
private static function remote_post( $body_args = [] ) {
return array(
'license' => 'valid',
'expires' => 'lifetime',
'api_version' => ELEMENTOR_PRO_VERSION,
'item_name' => self::PRODUCT_NAME,
'site_lang' => get_bloginfo( 'language' ),
'url' => $use_home_url ? home_url() : get_site_url(),
'requires' => '',
'new_version' => '',
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment