Data Object Output
-
Hi, great addition to ACF, thank you ??
I am having a few problems outputting the data object. Using the following code I am having some luck but getting an error:
$data = get_field('video_field'); echo $data->thumbnail_url;
Error:
Warning: Missing argument 2 for acf_field_oembed::get_oembed_object(), called in /wp-content/plugins/acf-oembed-field-master/oembed-v4.php on line 233 and defined in /wp-content/plugins/acf-oembed-field-master/oembed-v4.php on line 250
I know there should be a second parameter in the
get_field()
but for the life of me I cannot figure it out ??Thanks!
https://www.ads-software.com/plugins/advanced-custom-fields-oembed-field/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Data Object Output’ is closed to new replies.