Skip Navigation

[Resolved] Where the Relationship Data Stored ?

This support ticket is created 5 years, 1 month 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
- 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)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1210940

I remember all relationship is stored in field _wpcf_belongs_{parent-slug}_id in postmeta table, but now it isn't there...
Any idea where the relationship data stored ?

#1211033

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - _wpcf_belongs_{parent-slug}_id method is used with the legacy Types version.

Since Types 3.0 we introduce new relationship - you should check the following blog post:
=> https://toolset.com/2018/05/toolset-post-relationships-release/

With the introduction of new relationship - the relationship content is stored using the custom database tables:
- wp_toolset_associations
- wp_toolset_relationships

We also offer new post-relationship API :
=> https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.