'; $menu_title = $logo . __( 'Arkhe', 'arkhe' ); add_theme_page( $menu_title, $menu_title, 'edit_theme_options', 'arkhe', '\Arkhe_Theme\display_theme_menu' ); } function display_theme_menu() { if ( \Arkhe::$is_ja ) { $theme_url = 'https://arkhe-theme.com/ja'; } else { $theme_url = 'https://arkhe-theme.com'; } ?>

_x( 'Information', 'tab', 'arkhe' ), 'licence' => __( 'Licence registration', 'arkhe' ), ); // 現在表示中のタブ // phpcs:ignore WordPress.Security.NonceVerification.Recommended $now_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'info'; // タブリスト echo ''; // コンテンツ echo '
'; include __DIR__ . '/theme_menu/' . $now_tab . '.php'; echo '
'; ?>