A conditional checking for an empty distance ("N" result) stopped working after Maps updates. The consent prompt never appeared and no non-geolocated content showed.
Solution:
The View had a Distance query filter, so Maps would not run it until the location was known and showed a "location needed" message instead. Remove the Distance filter, since the Content Template already calculates the distance. Update the custom "trim_view" shortcode in "Toolset > Settings > Custom Code" to return "N" when the output contains the location-required message.
Problem: The customer wanted to get the Post ID of the new entry after a Toolset Form submission, run custom PHP, and pass the ID to a report page on redirect.
Solution: Use the "cred_save_data_form_{form-slug}" hook, which receives the new post ID as its first parameter, to run code such as update_post_meta(). Use the "cred_success_redirect_form_{form-slug}" filter with add_query_arg() to append the ID to the redirect URL, then read it on the report page with [wpv-search-term param="report_id"] or $_GET.