Theme Purchase code
$error ) {
echo '
';
}
}
if ( ! empty( $purchase_code ) ) {
if ( ! empty( $errors ) ) {
//since there is already a purchase code present - notify the user
$slug = basename( get_template_directory() );
update_option( strtolower( $slug ) . '_wup_purchase_code', '' );
$purchase_code = false;
echo '
' . esc_html__( 'Purchase code removed.' ) . '
';
} else {
//this means a valid purchase code is present and no errors were found
echo '
' . __( 'Your purchase code is valid. Thank you! Enjoy Flatsome Theme and automatic updates.' ) . '
';
}
}
if ( empty( $purchase_code ) ) {
echo '
';
} else {
echo '
';
}
?>
A purchase code (license) is only valid for One Domain. Are you using this theme on a new domain? Purchase a new license here to get a new purchase code. To remove a purchase code simply remove the code and click update.
Active';
// If support expired
if ( flatsome_is_support_expired( $slug ) ) {
$support_message = flatsome_is_invalid_support_time( $support_ends ) ? '
Invalid (please try to re-update)' : '
Expired';
}
// Buyer
$buyer = get_option( $slug . '_wup_buyer', '' )
?>
License details
Purchased |
|
Support ended
Support ends
|
|
Support Status |
|
Username |
|
+ Extend Support time
Try click the Update button on the left if you have already extended support