LLMS_OEmbed

Handle custom oEmbed Providers


Source Source

File: includes/class.llms.oembed.php

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 );
 
    }
 
}

Top ↑

Methods Methods


Top ↑

Changelog Changelog

Changelog
Version Description
1.4.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.