'), 30 ); // One screen, so one submenu item — registered against the parent slug so // it renames WordPress's auto-generated duplicate rather than adding a // second registered page. (A second page slug was why "Settings" used to // open the app with no sub_page and land on the wrong tab.) add_submenu_page( 'marqueex', esc_html__('Settings', 'marqueex'), esc_html__('Settings', 'marqueex'), 'manage_options', 'marqueex', [$this, 'render_menu_page'] ); } public function render_menu_page() { echo '
'; echo '
'; echo '
'; } }