Skip Navigation

[Resolved] Using category taxonomy in repetable field group as select option

This support ticket is created 6 years, 4 months ago. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Author
Posts
#918769

As the thread at https://toolset.com/forums/topic/using-category-taxonomy-as-select-option-2/#post-918768 was closed, I have to put the question here.

The code mentioned in above thread worked like a charm outside of the repeatable field group. But it is not working inside repeatable field group. Maybe we need to change the hooks.

Can you please help me with the changes that needs to be done so that we can get it working inside repeatable field group.

#918787

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I did some testing and it seems that the wpt_field_options hook is not triggered at all for select fields within repeatable field groups on the post edit screen.

I have asked if there is an alternative hook that can be used, but it may simply not be possible.

I'll update you when I get clarification from the developers.

#919267

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The developers confirmed that it should work, but there is currently an issue with the wpt_field_options filter which will be fixed in a minor Types update to Types 3.0.2 next week.

When that is published, please update and try again, and then let me know if there is still a problem.

#919824

Okay. Can we keep this thread open, so that once the update comes up, I will check and confirm here; if that is okay.

#919854

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Yes. I'll change the status to needing feedback from you, meaning you have at least a week to reply before the thread is closed if you don't.