Hi oculus123,
If I’m understanding correctly, I think the best way to do this would be hook in to the pmxi_saved_post action, use the post_id to get the permalink and post_title of the post that was just imported, and then add that to your custom field.
We have some more information on our action reference here: http://www.wpallimport.com/documentation/developers/action-reference/
Hope this helps!
that’s exactly what I was looking at, but apparently my php isn’t up to the standard, a working sample would be super helpful
It is not quite clear how much formatting you need to do on your data before saving it to your custom field. However you can retrieve the data using the get_the_title() and get_permalink() functions:
https://developer.ww.wp.xz.cn/reference/functions/get_the_title/
https://developer.ww.wp.xz.cn/reference/functions/get_permalink/
And then store that on your custom field using the update_post_meta() function:
https://developer.ww.wp.xz.cn/reference/functions/update_post_meta/