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