Showcase_Resource

Stand-alone resource registration for name “showcase”.


Description

Implemented only for back-end usage.


Source

File: includes/libs/vimeo-api/showcase-resource.class.php

class Showcase_Resource extends Album_Resource {
	/**
	 * @param string    $resource_id
	 * @param false     $user_id
	 * @param array     $params
	 */
	public function __construct( $resource_id, $user_id = false, $params = [] ) {
		parent::__construct( $resource_id, $user_id, $params );
		parent::set_name( 'showcase', __( 'Showcase', 'codeflavors-vimeo-video-post-lite' ) );
	}

	/**
	 * Disable for importers.
	 *
	 * Keep implementation only for back-end.
	 *
	 * @return false
	 */
	public function enabled_for_importers() {
		return false;
	}

	/**
	 * Disable for automatic imports.
	 *
	 * Keep implementation only for back-end.
	 *
	 * @return false
	 */
	public function has_automatic_import() {
		return false;
	}
}

Methods

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!