Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $item_array = get_post_meta( $id, '_custom_post_type_onomies_relationship' );
- foreach ( $item_array as $mitem_id ) {
- $title = get_the_title( $item_id );
- $item_array[] = $title;
- }
- update_post_meta( $id, '_custom_post_type_onomies_relationship', $title );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement