• Hi,

    I’m having difficulties with the wordpress export facility. It’s not importing/exporting my post_meta information correctly it places it in a custom field as pgopts then the array of information as a value.

    This is how I retrieve the array date to my custom field

    <?php wp_nonce_field( plugin_basename( __FILE__ ), $pgopts . ‘_wpnonce’, false, true );

    foreach($meta_post_gallery as $meta_box) {
    $data = get_post_meta($post->ID, $pgopts, true);

    require CWZ_FILES . ‘/adm/inc/meta_config.php’; // HTML formatting for data

    } ?>

    This is how I update my post_meta.
    update_post_meta( $post_id, $pgopts, $data );

    All this works absolutely fine apart from when I want to export the data and re-import it.

    Any suggestions?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field Array Export’ is closed to new replies.