From 2ecd7f7714179ca99faac7699d57ac8248b6c4be Mon Sep 17 00:00:00 2001 From: Lyrisbee Date: Tue, 12 Dec 2023 13:52:15 +0800 Subject: [PATCH] feat: add permalink_structure --- src/class-core.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/class-core.php b/src/class-core.php index 19073ed..4549527 100644 --- a/src/class-core.php +++ b/src/class-core.php @@ -95,6 +95,7 @@ public function generate_auth(): string { 'site_name' => get_bloginfo( 'name' ), 'url' => get_bloginfo( 'url' ), 'rest_prefix' => rest_get_url_prefix(), + 'permalink_structure' => get_option('permalink_structure'), ) );