[Résolu] Save value to custom taxonomy term when creating post with CRED form
This support ticket is created Il y a 4 années et 10 mois. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have a custom taxonomy called location. When adding a new location term, I need to save a value to a taxonomy field called "term-creator-id". I've found the create_category hook and written this up roughly:
Hello. Thank you for contacting the Toolset support.
Well - I would like to know here that which action you are targetting when you are in admin section and user create new taxonomy term or when you are using forms?
Well - you should use the following function to assign the value to your custom term field automatically when a new term is created using "Add New" button.