Navigation überspringen

[Gelöst] Custom Field Group Deactivation

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The issue here is that the user wanted to know why there was a deactivation option for the field groups.

Solution:
There are some cases where it can be useful. Lets say the user creates a field group for a CPT but then the CPT is no longer required but they don't want to delete the fields. They can deactivate the fields group and then re-activate it when they are needed again.

This support ticket is created vor 6 Jahren, 4 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von julieP vor 6 Jahren, 4 Monaten.

Assistiert von: Shane.

Author
Artikel
#1088435

I notice there's a 'deactivate' option for Custom Field Groups. Sounds daft but what purpose does this serve? Under what circumstances might I want to deactivate a Custom Field Group? What actually happens when a Custom Field Group is deactivated?

It seems to me this would mess up all Forms, Views and conditional statements that use any of the fields within the group and the frontend output would no longer make sense. Or maybe I'm missing something?

Thanks

#1088508

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Julie,

There are some cases where it can be useful. Lets say the user creates a field group for a CPT but then the CPT is no longer required but they don't want to delete the fields. They can deactivate the fields group and then re-activate it when they are needed again.

Thanks,
Shane

#1089226

OK, yes I can see how that might be useful. Thanks for clarifying!