Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: get_post_meta doesn’t work in activity stream

@riddler84

Participant

Sry, i would have edit my previous post, but there’s no option 🙂

I have an addendum. If i save the post, before i publish it, the meta_value is stored in the database and is also present in the activity item.

But if i publish it directly, the meta_value is obviously not saved, when the activity is created, so my theory from above seems right.

Maybe it’s important to mention, that i save the posts for this CPT from the Frontend. First i call the function wp_insert_post and immediately afterwards i call update_post_meta to add or update the corresponding meta values.

Skip to toolbar