Skip to content

Instantly share code, notes, and snippets.

Emerson Maningo codex-m

Block or report user

Report or block codex-m

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
codex-m / unix_time_datefix
Created Sep 17, 2014
Code to fix 01.01.1970 date problem in Types plugin (starting version 1.6.2+)
View unix_time_datefix
* Patch to correct wrong date format in dB in Types fields
* Add this code to your functions.php
function mass_update_date_fields_typesfunc() {
//Make sure $types_field_name is the exact field name as saved in database.
You can’t perform that action at this time.