Problem: I would like to display the title of the post selected in a post reference field using PHP, but when I output the value of types_render_field I get a number.
Solution: This number is the referenced post ID. You can use it to get the post title with the WordPress function get_the_title:
Problem: I have two address fields, one in a parent post type and one in a child post type. When a new child post is created, I would like to calculate the distance between the two addresses and save that distance in another custom field in the child post type.
Solution: You can use the cred_submit_complete hook to trigger custom code with the shortcode toolset-maps-distance-value to calculate the distance between two addresses. Use the update_post_meta function to store that distance in another custom field.
Problem: I would like to clone a post from one site in my multisite network into another site in the same network using the WP Multisite Content Copier Pro plugin. This plugin allows me to clone a post across sites and was working as expected, but recently stopped working.
Solution: In this case exposing the custom fields to the REST API seems to have solved the problem. Manage that setting in Toolset > Settings > Custom Content. Check the checkbox for "Expose custom fields managed by Types for posts, users, and terms through the REST API" and save the settings.