diff --git a/start.php b/start.php index 73688982..84cbc6b9 100644 --- a/start.php +++ b/start.php @@ -15,7 +15,7 @@ * * @var string */ - $this_sdk_version = '2.13.0'; + $this_sdk_version = '2.13.0.1'; #region SDK Selection Logic -------------------------------------------------------------------- @@ -447,6 +447,7 @@ function_exists( 'wp_is_json_request' ) && * fs_show_trial_{plugin_slug} * fs_is_pricing_page_visible_{plugin_slug} * fs_checkout/parameters_{plugin_slug} + * fs_pricing/billing_cycle_{plugin_slug} * * -------------------------------------------------------- * diff --git a/templates/pricing.php b/templates/pricing.php index af2fe84b..e243128a 100644 --- a/templates/pricing.php +++ b/templates/pricing.php @@ -59,7 +59,7 @@ 'next' => $fs->_get_sync_license_url( false, false ), 'plugin_version' => $fs->get_plugin_version(), // Billing cycle. - 'billing_cycle' => fs_request_get( 'billing_cycle', WP_FS__PERIOD_ANNUALLY ), + 'billing_cycle' => fs_request_get( 'pricing/billing_cycle', $fs->apply_filters( 'pricing/billing_cycle', WP_FS__PERIOD_ANNUALLY ) ), 'is_network_admin' => fs_is_network_admin() ? 'true' : 'false', 'currency' => $fs->apply_filters( 'default_currency', 'usd' ), 'discounts_model' => $fs->apply_filters( 'pricing/discounts_model', 'absolute' ),