llms.interface.post.video.php 515 Bytes
Newer Older
cyrille's avatar
cyrille committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<?php
/**
 * LifterLMS Post Model Video Embeds
 *
 * @package LifterLMS/Interfaces
 *
 * @since 3.17.0
 * @version 5.3.0
 */

defined( 'ABSPATH' ) || exit;

/**
 * LLMS_Interface_Post_Video
 *
 * @since 3.17.0
 * @deprecated 5.3.0 Use {@see LLMS_Trait_Audio_Video_Embed}.
 */
interface LLMS_Interface_Post_Video {

	/**
	 * Attempt to get oEmbed for an video provider
	 *
	 * Falls back to the [video] shortcode if the oEmbed fails
	 *
	 * @since 3.17.0
	 *
	 * @return string
	 */
	public function get_video();

}