Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <strong>
- <?php
- $duration_in_seconds = get_post_meta( get_the_ID(), 'wpscript_duration', true );
- $minutes = floor($duration_in_seconds / 60);
- $seconds = $duration_in_seconds - (60 * $minutes);
- echo $minutes;
- echo " MIN";
- ?>
- </strong>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement