• Resolved enkirch

    (@enkirch)


    Hi,
    I am saving multiple meta values for a post.
    One value is not displayed in the admin when I do this.

    On the one hand I have once

    
    update_post_meta( $leadid, "landingpage_links", $link_ids );
    $links_ids is:  [0] => a:5:{i:0;i:9;i:1;i:5;i:2;i:1;i:3;i:6;i:4;i:3;}
    

    and then once in a loop this

    
            foreach($iZero as $iZeroData){
                $metaImageName = 'images-'.$countIndex;
                update_post_meta( $leadid, $metaImageName, $metaurl.$iZeroData );
                update_post_meta( $leadid, "formCompletedImages", 1 );
                update_post_meta( $leadid, "formCompletedImages_Via", "EditForm" );
            }
    

    Now when I look in the admin, all the meta values from the loop are shown to me, but “landingpage_links” is not shown to me there.

    If I output get_post_meta(24766), I get everything displayed.

    Here is a Screnshot what i mean with “not showing in admin”. The value “landingpage_links” not showing in this list.

    https://ibb.co/WVRZwQT

    • This topic was modified 4 years, 2 months ago by enkirch.
    • This topic was modified 4 years, 2 months ago by enkirch.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Your admin UI looks unfamiliar, so I suspect it’s related to your theme or plugin. I suspect the problem might be in storing array data. Post meta has no problem with that, but the admin UI could. I recommend asking for help in the dedicated support forum of the theme or plugin responsible for the UI.

Viewing 1 replies (of 1 total)
  • The topic ‘Meta Value not Admin’ is closed to new replies.