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
- __construct
- enabled_for_importers — Disable for importers.
- has_automatic_import — Disable for automatic imports.