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

Convert a duration to human readable format.

Related Functions

user_can_create_draft, wp_get_available_translations, update_user_option, human_time_diff, rest_handle_deprecated_function

Top Google Results

User discussions

wpseek mobile