change LIKE 'field\_%' to LIKE 'field\_%%'in my wordpress install not displaying the elements createds, this was added to get_fields function