Any way to save Post ID in a custom table when also a Parent?

Support MB Custom Table Any way to save Post ID in a custom table when also a Parent?Resolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32940
    Jeremy ParrottJeremy Parrott
    Participant

    <<If parent settings is set to true, this field doesn’t save any data. Instead, it sets the selected post as the parent for the current being edited post.>>

    Any work around for this limitation?

    #32946
    Long NguyenLong Nguyen
    Moderator

    Hi Jeremy,

    If the setting parent is set to true, the field supports saving the post parent for the post object and does not save the post meta (even with the default table wp_postmeta).
    Please read more here https://developer.wordpress.org/reference/classes/wp_post/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.