If option custom_fields is set to "all" returns all meta data for post

Changed set_custom_fields_value so that if the option custom_fields is set to all then return all meta data. Useful when using Woo Commerce and other plugins which rely on lots of custom fields