function _oembed_field_filter_urls in oEmbed 8
Same name and namespace in other branches
- 7 oembed.filter.inc \_oembed_field_filter_urls()
- 7.0 oembed.filter.inc \_oembed_field_filter_urls()
array_filter() callback that removes URLs for which there is no provider.
1 string reference to '_oembed_field_filter_urls'
- _oembed_field_extract_urls in ./
oembed.filter.inc - Extract all URLs for oEmbed to process.
File
- ./
oembed.filter.inc, line 107 - Input filter that enhances oEmbed enabled URLs with extra content
Code
function _oembed_field_filter_urls($match) {
$matches = array();
if (oembed_get_provider($match, $matches)) {
return TRUE;
}
return FALSE;
}