You are here

function _oembed_resolve_link in oEmbed 7.0

Same name and namespace in other branches
  1. 8 oembed_legacy.inc \_oembed_resolve_link()
  2. 6.0 oembed.inc \_oembed_resolve_link()
  3. 7 oembed_legacy.inc \_oembed_resolve_link()
1 call to _oembed_resolve_link()
_oembed_preg_parse in ./oembed_legacy.inc

File

./oembed_legacy.inc, line 45
Functions for the oEmbed filter

Code

function _oembed_resolve_link($match, $prefix, $suffix) {
  global $_oembed_default_parameters;
  $url = decode_entities($match);
  return $prefix . oembed_resolve_link($_oembed_default_parameters, $url) . $suffix;
}