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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
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)
Dieses Thema enthält 2 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von vor 6 Jahren, 10 Monaten.
Assistiert von: Minesh.