The greatest challenge for this site was to synchronize WordPress cron jobs to pull Wodify WOD’s data as soon as it was published on Wodify and make sure that the request didn’t come back empty.
Had to use a Unix Time Converter in order to have the correct server time and sync Wodify’s publish time and have WordPress pull the data at that time. Afterwards the data would be stored as a JSON object and verify that the data had been received and that it was valid text format, if it wasn’t send an email alert to the WordPress admin. A complex loop was created to loop through every available WOD and filter them by workout category in order to use as the custom taxonomies name. If the workout category doesn’t exist create a new one and assign all the correct fields to WordPress’ parameter requirements.