base == 'appearance_page_about-agama' ) { wp_enqueue_style( 'agama-about', AGAMA_CSS . 'admin-about.css', [], Agama()->version() ); } } /** * Register Page * * Add submenu page to the Appearance main menu. * * @since 1.0.1 * @access public * @return false | string */ public function register_page() { add_theme_page( esc_html__( 'About Agama', 'agama' ), esc_html__( 'About Agama', 'agama' ), 'edit_theme_options', 'about-agama', [ $this, 'render_page' ] ); } /** * Render Page * * Render the "About Agama" admin page. * * @since 1.0.1 * @access public * @return mixed */ public function render_page() { get_template_part( 'framework/admin/pages/about' ); } } Menu::get_instance(); /* Omit closing PHP tag to avoid "Headers already sent" issues. */