In the toolset support topic Luo Yang said that we would just need to change this:
..
$attributes['bio'] = get_field( 'bio', $post->ID );
...
to this:
...
$attributes['bio'] = get_field( 'wpcf-bio', $post->ID );
...
However, when this is used, the site produces the following error: Uncaught Error: Call to undefined function get_field
Since the function get_field is an ACF function and not a Toolset function this example will not work. Is there a similar function in Toolset to get the contents of a single field?
The function doesn't take any post id as it fetches the post id directly from the global on from the loop,
An example code to get a text fields would look like
The second argument usually deals with how the field should be rendered, More details are in the documentation.
In case if you are looking for an option similar to get_field to get fields based on Post_ID you can use the WordPress generic function get_post_meta with the wpcf- prefixed to the field name
eg