HRB_Foundation_Framework::add_oembed_wrapper( string $html, string $url, array $attr, $post_id )
Add a custom wrapper around WordPress oembeds so we can use Foundation’s Flex Video module for responsive viewing.
Package
Description Description
See also See also
Parameters Parameters
- $html
(string) (Required) The cached HTML result, stored in post meta.
- $url
(string) (Required) The attempted embed URL.
- $attr
(array) (Required) An array of shortcode attributes.
- $post_ID
(int) (Required) Post ID.
Return Return
(string)