$version_current";
}
if ( isset( $addon->link_doc ) && ! empty( $addon->link_doc ) ) {
echo " |
Documentation";
}
?>
%s: %s',
__( 'Latest version', 'learnpress' ),
$version_latest
);
}
if ( $addon_purchased ) {
$color_expire = '#27BF49';
$message = '';
$button_extends = sprintf(
'
%s
',
$addon->link,
__( 'Extends Now', 'learnpress' )
);
if ( $number_days_remaining === 0 ) {
$color_expire = 'red';
$message = __( 'Your update and support has expired!', 'learnpress' );
} elseif ( $number_days_remaining < 61 ) {
$color_expire = 'orange';
$message = sprintf(
__( 'You have a license of for this item with %s days of update & support remaining. Please extend the update & support license to keep updating the latest versions & receive customer support from ThimPress before it expires.', 'learnpress' ),
sprintf( '
%d', $number_days_remaining )
);
} else {
$button_extends = '';
}
echo sprintf(
'
%s %s',
$message,
$button_extends
);
}
echo sprintf(
'
%s on %s
',
$addon->is_free ? __( 'Free', 'learnpress' ) : __( 'Paid', 'learnpress' ),
$addon->is_org ? __( 'WP.org', 'learnpress' ) : __( 'Thimpress', 'learnpress' )
);
?>
Empty key purchase';
}
?>
description; ?>