It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
- Integer The number of seconds in the given duration, or 1 if the duration is invalid.
A duration string, which is comprised of an integer, followed by a unit character, which can be any of:
- s – seconds. e.g. “20s”
- m – minutes. e.g. “5m”
- h – hours. e.g. “8h”
- d – days. e.g. “7d”
- w – weeks. e.g. “4w”
- y – years. e.g. “1y”