LLMS_OEmbed
Handle custom oEmbed Providers
Contents
Source Source
File: includes/class.llms.oembed.php
class LLMS_OEmbed {
/**
* Constructor
*
* @since 1.4.6
*
* @return void
*/
public function __construct() {
/**
* Add oEmbed Provider for Wistia
*
* @since 1.4.6
*/
wp_oembed_add_provider( '/https?\:\/\/(.+)?(wistia\.com|wi\.st)\/.*/', 'https://fast.wistia.com/oembed', true );
}
}
Expand full source code Collapse full source code View on GitHub
Methods Methods
- __construct — Constructor
Changelog Changelog
| Version | Description |
|---|---|
| 1.4.6 | Introduced. |