LLMS_OEmbed

Handle custom oEmbed Providers


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 );

	}

}

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.