human_readable_duration
human_readable_duration ( $duration = '' )
Parameters:- (string) duration Duration will be in string format (HH:ii:ss) OR (ii:ss), with a possible prepended negative sign (-).
Returns:- (string|false) A human readable duration string, false on failure.
Defined at: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: —
Description
Converts a duration to human readable format.