/** * Initialize the class and set its properties. * * @since 1.0.0 * @var string $plugin_slug The name of the plugin. * @var string $version The version of this plugin. */ public function __construct($plugin_slug, $version) { $this->plugin_slug = $plugin_slug; $this->version = $version; $arve_shared = new Advanced_Responsive_Video_Embedder_Shared(); $this->options = $arve_shared->get_options(); $this->regex_list = $arve_shared->get_regex_list(); }
/** * Initialize the class and set its properties. * * @since 1.0.0 * @var string $plugin_slug The name of this plugin. * @var string $version The version of this plugin. */ public function __construct($plugin_slug, $version) { $this->plugin_slug = $plugin_slug; $this->version = $version; $this->options = Advanced_Responsive_Video_Embedder_Shared::get_options(); }
<?php /** * Represents the view for the administration dashboard. * * This includes the header, options, and other information that should provide * The User Interface to the end user. * * @package Advanced_Responsive_Video_Embedder * @author Nicolas Jonas * @license GPL-3.0+ * @link http://nextgenthemes.com * @copyright 2013 Nicolas Jonas */ $options = Advanced_Responsive_Video_Embedder_Shared::get_options(); ?> <div class="wrap arve-options-wrap"> <h2><?php echo esc_html(get_admin_page_title()); ?> </h2> <?php if ($admin_message = $this->get_admin_message()) { echo '<div class="updated">' . $admin_message . '</div>'; } ?> <h2 class="nav-tab-wrapper arve-settings-tabs"></h2>