Software Licensing - Changing License Expiration Length

With  Software Licensing the license length (time to expire) can be easily changed via a simple filter. This example snippet will illustrate how to change the length of licenses, and also show how to conditionally change it based on the product that the license is being generated for.

This snippet can be placed inside of your theme's functions.php, though inside of a custom plugin is recommended.

A code snippet to change the license length on a per-price option basis is also available.