views/noticias/wp-content/themes/supermag/acmethemes/at-theme-info/class-at-theme-info.php
/**

         * Prepare and setup class properties.

         */
Prepare and setup class properties.
Prepare and setup class properties .
public function prepare_class() {
            $theme = wp_get_theme();
            if ( is_child_theme() ) {
                $this->theme_name = $theme->parent()->get( 'Name' );
            } else {
                $this->theme_name = $theme->get( 'Name' );
            }
            $this->theme_slug    = $theme->get_template();
            $this->theme_version = $theme->get( 'Version' );
            $this->page_title    = isset( $this->config['page_title'] ) ? $this->config['page_title'] : esc_html__('Info','supermag'). $this->theme_name;
            $this->menu_title    = isset( $this->config['menu_title'] ) ? $this->config['menu_title'] : esc_html__('Info','supermag') . $this->theme_name;
            $this->notification  = isset( $this->config['notification'] ) ? $this->config['notification'] : ( '<p>' . sprintf( __('Welcome! Thank you for choosing %1$s! To fully take advantage of the best our theme can offer please make sure you visit our %2$swelcome page%3$s.','supermag'), $this->theme_name, '<a href="' . esc_url( admin_url( 'themes.php?page=' . $this->theme_slug . '-info' ) ) . '">', '</a>' ) . '</p><p><a href="' . esc_url( admin_url( 'themes.php?page=' . $this->theme_slug . '-info' ) ) . '" class="button" style="text-decoration: none;">' . sprintf( __('Get started with %s','supermag'), $this->theme_name ) . '</a></p>' );
            $this->tabs          = isset( $this->config['tabs'] ) ? $this->config['tabs'] : array();
        }
public function prepare_class ( ) { $ theme = wp_get_theme ( ) ; if ( is_child_theme ( ) ) { $ this -> theme_name = $ theme -> parent ( ) -> get ( 'Name' ) ; } else { $ this -> theme_name = $ theme -> get ( 'Name' ) ; } $ this -> theme_slug = $ theme -> get_template ( ) ; $ this -> theme_version = $ theme -> get ( 'Version' ) ; $ this -> page_title = isset ( $ this -> config [ 'page_title' ] ) ? $ this -> config [ 'page_title' ] : esc_html__ ( 'Info' , 'supermag' ) . $ this -> theme_name ; $ this -> menu_title = isset ( $ this -> config [ 'menu_title' ] ) ? $ this -> config [ 'menu_title' ] : esc_html__ ( 'Info' , 'supermag' ) . $ this -> theme_name ; $ this -> notification = isset ( $ this -> config [ 'notification' ] ) ? $ this -> config [ 'notification' ] : ( '<p>' . sprintf ( __ ( 'Welcome! Thank you for choosing %1$s! To fully take advantage of the best our theme can offer please make sure you visit our %2$swelcome page%3$s.' , 'supermag' ) , $ this -> theme_name , '<a href="' . esc_url ( admin_url ( 'themes.php?page=' . $ this -> theme_slug . '-info' ) ) . '">' , '</a>' ) . '</p><p><a href="' . esc_url ( admin_url ( 'themes.php?page=' . $ this -> theme_slug . '-info' ) ) . '" class="button" style="text-decoration: none;">' . sprintf ( __ ( 'Get started with %s' , 'supermag' ) , $ this -> theme_name ) . '</a></p>' ) ; $ this -> tabs = isset ( $ this -> config [ 'tabs' ] ) ? $ this -> config [ 'tabs' ] : array ( ) ; }
Prepare and setup class properties.
Prepare and setup class properties .