I want to extract serilazed data and update/insert values to metabox string meta

Support General I want to extract serilazed data and update/insert values to metabox string metaResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39187
    brkardbrkard
    Participant

    Hi.

    I am using another front end plugin to upload images.
    This plugin saves meta values of image ids in serialized format.
    Like this: image_upload_other: 4:{i:0;s:3:"937";i:1;s:3:"938";i:2;s:3:"939";i:3;s:3:"940";}

    I need these values to insert to post meta for Metabox.io format in separate string values after update or insert post with a function.

    Like this:
    image_upload_mb: 937
    image_upload_mb: 938
    etc...

    SO i need a function code to do this very much 🙂

    Any help will be great.

    Thanks...

    #39193
    PeterPeter
    Moderator

    Hello,

    Supporting compatibility with a third-party plugin and customization code is beyond our scope of support. You can create a customization service here https://metabox.io/contact/, I will forward it to our development team to help you with an extra fee.

    Read more our support policy here https://support.metabox.io/topic/support-policy/

    #39198
    brkardbrkard
    Participant

    Hmm...

    So I think i will miss Anh Tran' s support scope like last years..

    Anyway.

    This is not a third-party plugin support request.

    I only wanted to know that, can i pass serialized generic metavalues to metabox image field values

    A simple code snippet can help for this.

    If you still you dont think this snippet code is not beyond our scope, no problem 🙂

    Thanks.

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