I have built a custom post type for saving music with a post. I have built a custom interface and uploader to allow members of my network to upload music they have created to their blogs. With this custom interface and uploader a post is created and post_meta (custom fields) are saved.
The issue I have just discovered is the post_meta is not being saved to the tags blog.
I am using have 3 steps to creating the custom post:
$postid = wp_insert_post($my_post); wp_set_object_terms( $postid, $atags, 'post_tag', false ); update_post_meta($postid, 'genre', $genre); update_post_meta($postid, 'subgenre', $subgenre); update_post_meta($postid, 'trackurl', $url);
Those are just a few of the custom fields being created. But none of them are making there way over to the tags blog. Im thinking I could trigger a post update of the just created $postid.
Is there a better or more WordPress way of either creating the post so that the post_meta is imported to the tags blog? Maybe I can add an additional hook within the plugin so it catches when post_meta is updated as well?