_log_version_number(); } /** * Log the plugin version number. */ private function _log_version_number() { // Log the version number. update_option( $this->token . '-version', $this->version ); } /** * Load admin panel styles. */ public function dtm_framework_admin_scripts() { wp_enqueue_style('dtm-admin', DTM_URL .'css/admin-style.css'); } /** * Setup all the things. * Only executes if DT_Metabox or a child theme using DT_Metabox as a parent is active and the extension specific filter returns true. */ public function setup() { $theme = wp_get_theme(); #if ( 'Twenty Seventeen' == $theme->name || 'twentyseventeen' == $theme->template ) { #require_once( DTM_PATH .'/includes/demos.php' ); #} } } DT_Metabox::instance();