Skip Navigation

[Gelöst] Where the Relationship Data Stored ?

This support ticket is created vor 3 Jahre, 11 Monate. 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 Antwort, has 2 Stimmen.

Last updated by Minesh vor 3 Jahre, 11 Monate.

Assigned support staff: Minesh.

Author
Artikel
#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: Englisch (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/