Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5540

Bi-directional field ignores meta added manually via MySQL

$
0
0

I have two CPTs:
– Laws (2970 posts)
– Authors (29 posts)

In the begning I created a relational field only in Laws CPT and forgot to create a bi-directional field also in Authors.

After creating a bi-directional field in Authors CPT I realized they were all empty in the Authors edit page (wodpress dashboard). To fix the empty newly created bi-directional field in Authors I tried to insert the data via MySQL but they are not showing up in the Authors edit page.

I inserted the data in wp_postmeta with two meta_keys: {customfieldname} and _pods_{customfieldname}.

Am I doing something wrong?


Viewing all articles
Browse latest Browse all 5540

Trending Articles