wc_do_oembeds( string $content )
Process oEmbeds.
Description Description
Parameters Parameters
- $content
-
(Required) Content.
Return Return
(string)
Source Source
File: includes/wc-formatting-functions.php
function wc_do_oembeds( $content ) {
global $wp_embed;
$content = $wp_embed->autoembed( $content );
return $content;
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |