Disable from Code before calling wp_oembed_get
-
Hello,
in the Optional API query-string params setting we have iframe=card.
Now we have the case where we need to get the standard embed code with wp_oembed_get($url, $args) function in our code.
Since Iframely is intercepting this call, there is no chance to get a standard embed code like we would get with the setting iframe=0.We tried remove_all_filters() for all of the filters that are being added in iframely.php. To no avail. Also tried disabling caching.
How can we make wp_oembed_get() return standard embed code when the setting for Optional API query-string params is iframe=card and the setting Don’t override default embed providers is not checked?
- The topic ‘Disable from Code before calling wp_oembed_get’ is closed to new replies.