Replace hardcoded date and time formats with wp_option

This commit is contained in:
2019-01-19 13:10:35 +00:00
parent 4a40f3c45b
commit e83f7c4eb8
5 changed files with 5 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ function windycoys_get_podcast_meta($id) {
title => (String) $item->title,
description => (String) $item->description,
image => (String) $item->image['href'],
date => date('jS F, Y', $date).' at '.date('H:i', $date),
date => date(get_option('date_format'), $date).' at '.date(get_option('time_format'), $date),
length => (String) $item->duration,
url => (String) $item->link,
audio => (String) $item->enclosure['url'],