Problem:
Solution:
You can use CRED API hook cred_save_data in order to create child post and to establish relationship (connection) between your parent and child post type entry you need to add postmeta key.
When using Types posts relationships, the parent of a given type is stored in a field:
_wpcf_belongs_{parent-posttype-slug}_id
You can find proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/ability-to-create-new-child-posts-during-the-creation-of-a-parent-post-in-cred/#post-609624
Relevant Documentation:
=> https://toolset.com/documentation/user-guides/creating-post-type-relationships/
=> https://toolset.com/documentation/user-guides/cred-api/#csd
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Este tema contiene 2 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 11 meses.
Asistido por: Minesh.