WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Add WooCommerce billing interval

February 16, 2016 by Will Leave a Comment

Please consider leaving a donation if you appreciate this information. Lightning network now available

Caution: be careful with this – if the payment gateway you are using does not support the interval that you are adding this may result in undesirable behaviour.

If you need to add billing intervals to WooCommerce Subscriptions this can be done using the Subscriptions provided filter named woocommerce_subscription_period_interval_strings – a very basic example below adds “every 8th” to the intervals so that, for instance, you could have a subscription that will renew every 8th week which may be a better fit than every two months.

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Please consider leaving a donation if you appreciate this information. Lightning network now available

Filed Under: WooCommerce Subscriptions Tagged With: snippet, snippets

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2025 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself

We use cookies to ensure that we give you the best experience on our website. Continued use of this site is interpreted as your acceptance of our cookie policy.OkSee Our Cookie Policy