New function: human_readable_duration
In WordPress 5.1, the new human_readable_duration function will be introduced. This function accepts a duration in hours, minutes and seconds and returns a “human readable” string appropriate for screen readers. The function takes a string representing a time duration, with hours, minutes and seconds separated by a : (colon). For example, calling human_readable_duration( ‘3:10’ ); … Continue reading New function: human_readable_duration
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed