s2Member v220809 (Framework) was released on August 9th, 2022.
Unified Changelog for s2Member & s2Member Pro v220809
- (Framework) Enhancement: New
current_user_days_to_eot_less_thanfunction for conditionals. Useful when you want to show a message to a user on his last days of access before the EOT time in his profile. E.g.
[s2If current_user_days_to_eot_less_than(31)]Please renew your membership[/s2If]. Kudos to Felix for his help, see post 6783.
Upgrading to the Latest Version
s2Member Framework users should receive an update notification from within their WordPress Dashboard (WordPress Dashboard → Updates). See: Automatic Upgrade Instructions for s2Member
s2Member Pro users: No need to update the Pro add-on if you have v210526 or newer. Unlike previous releases of the Framework, this one doesn't need to match the same exact version for Pro to activate. This will prevent unnecessary Pro deactivations due to a version mismatch.