/ Published in: PHP
This function is a workaround for a bug of the subscription extension of WooCommerce.
If the subscription is set up as a variable product with monthly and yearly prices
the extension will show the wrong message, like '$10 - $120/month' instead of
'$10/month - $120/year'
Making the function general would have taken too long so I've simply hardcoded the product IDs
If the subscription is set up as a variable product with monthly and yearly prices
the extension will show the wrong message, like '$10 - $120/month' instead of
'$10/month - $120/year'
Making the function general would have taken too long so I've simply hardcoded the product IDs