public/wp-content/themes/education-base/acmethemes/at-theme-info/class-at-theme-info.php
/**
         * Adding Theme Info Menu under Appearance.
         */
Adding Theme Info Menu under Appearance.
Adding Theme Info Menu under Appearance .
function at_admin_menu() {
            if ( ! empty( $this->page_title ) && ! empty( $this->menu_title ) ) {
                $count = $this->count_recommended_actions();
                $menu_title = $count > 0 ? $this->menu_title . '<span class="badge-action-count">' . esc_html( $count ) . '</span>' : $this->menu_title;
                add_theme_page( $this->page_title, $menu_title, 'edit_theme_options', $this->theme_slug . '-info', array(
                    $this,
                    'at_theme_info_screen',
                ) );
            }
        }
function at_admin_menu ( ) { if ( ! empty ( $ this -> page_title ) && ! empty ( $ this -> menu_title ) ) { $ count = $ this -> count_recommended_actions ( ) ; $ menu_title = $ count > 0 ? $ this -> menu_title . '<span class="badge-action-count">' . esc_html ( $ count ) . '</span>' : $ this -> menu_title ; add_theme_page ( $ this -> page_title , $ menu_title , 'edit_theme_options' , $ this -> theme_slug . '-info' , array ( $ this , 'at_theme_info_screen' , ) ) ; } }
Adding Theme Info Menu under Appearance.
Adding Theme Info Menu under Appearance .
/* Example
                 * add_theme_page('My Plugin Theme', 'My Plugin', 'edit_theme_options', 'my-unique-identifier', 'my_plugin_function');
                 * */