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:

Description

Converts a duration to human readable format.

Related Functions

user_can_create_draft, update_user_option, wp_get_available_translations, human_time_diff, rest_handle_deprecated_function

Top Google Results

User discussions

wpseek mobile