This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Plugin::set_plugin_options()
Set plugin options
Source
File: includes/libs/plugin.class.php
private function set_plugin_options(){ $defaults = [ 'enable_templates' => false, // use the video templates for themes 'public' => true, // post type is public or not 'archives' => false, // display video embed on archive pages 'post_slug' => 'vimeo-video', 'taxonomy_slug' => 'vimeo-videos', 'tag_slug' => 'vimeo-tag', 'import_tags' => true, // import tags retrieved from Vimeo 'max_tags' => 3, // how many tags to import 'import_title' => true, // import titles on custom posts 'import_description' => 'content', // import descriptions on custom posts 'import_date' => true, // import video date as post date 'featured_image' => true, // set thumbnail as featured image; default import on video feed import (takes more time) 'import_status' => 'publish', // default import status of videos // Vimeo oAuth 'vimeo_consumer_key' => '', 'vimeo_secret_key' => '', 'oauth_token' => '' // retrieved from Vimeo; gets set after entering valid client ID and client secret ]; /** * Options filter. * * @param array $defaults Default options array. */ $defaults = apply_filters( 'vimeotheque\options_default', $defaults ); $this->options = Options_Factory::get( '_cvm_plugin_settings', $defaults ); }