I have custom wordpress post type (job_listing - from WP Job Manager plugin) and add new posts via REST API requests (Postman). The problem is one meta field (geolocation position) in this post becomes visible on the frontend only when I manually open this newely created post and click on 'Update'/'Publish' button. I'm thinking of the function that programmatically simulate this action (click on the Update button) but only once (when the custom post type was created).
function update_job_once_created ( ) {
save/update this post;
}
add_action( 'save_post_job_listing', 'update_job_once_created' );