Home › Forums › ACF PRO › Can't display oEmbed in Widget › Reply To: Can't display oEmbed in Widget
in your code $widget_id
has no value. I’m not sure where to get it from in this context but it should be an argument in either $args
or $instance
. I’ve done some looking, and even looking and it’s hard to tell I think it may be $instance->id
but I’m not sure
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.