|
@@ -1046,6 +1046,7 @@ |
|
|
block discarded – undo |
|
1046
|
1046
|
* |
|
1047
|
1047
|
* @param int $product_id The product/post ID of the subscription |
|
1048
|
1048
|
* @param mixed $from_date A MySQL formatted date/time string from which to calculate the expiration date (in UTC timezone), or empty (default), which will use today's date/time (in UTC timezone). |
|
|
1049
|
+ * @return string |
|
1049
|
1050
|
*/ |
|
1050
|
1051
|
public static function get_trial_expiration_date( $product_id, $from_date = '' ) { |
|
1051
|
1052
|
$trial_expiration_date = WC_Subscriptions_Product::get_trial_expiration_date( $product_id, $from_date ); |
Please login to merge, or discard this patch.