-
Notifications
You must be signed in to change notification settings - Fork 1
Skip Fields
Alexandre Costa edited this page Aug 18, 2024
·
3 revisions
Not every field needs to be exported. You might have extended the plugin class with some fields that are not needed for the plugin to work, and that are specific for your CMS, but not to the target CMS. Or maybe the target CMS will handle these fields on its own, and you don't want to create Custom Serializer/Deserializer Methods to handle it.
In this case, you can skip these fields by adding the skip_fields
key to the plugie_config.json
file. This key should be a list of strings, where each string is the name of the field you want to skip.
{
...
"skip_fields": ["field1", "field2"]
}
The exporter will ignore these fields when exporting the plugin. Check the documentation for more information on how to create and use the plugie_config.json
file.