TractorCow\OpenGraph\ObjectBuilders\OpenGraphBuilder::appendMediaMetaTags
Build a list of linked file tags for the specified value and append them to a string
Signature
protected function appendMediaMetaTags(string&
$tags,
string
$namespace,
array
$value,
[string
$https = NULL,
[string
$mimeType = NULL]] )
Parameters
$tags
—
string
- The current tag string to append these to
$namespace
—
string
- The namespace to use for this element
$value
—
array
- Either an File object, string to the (non https) image url, or a list of the former
$https
—
string
- The HTTPS url if available
$mimeType
—
string
- type to use, or null to auto detect