From b69b0d3edf75c68b34d49288324b9991ff017f3d Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 8 May 2025 14:29:28 +0200 Subject: [PATCH] (feat): add capability_type openpub-item --- config/posttypes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/posttypes.php b/config/posttypes.php index 84d46aa..f8a7eb0 100644 --- a/config/posttypes.php +++ b/config/posttypes.php @@ -16,6 +16,7 @@ ], 'public' => true, 'show_ui' => true, + 'capability_type' => 'openpub-item', 'supports' => ['title', 'editor', 'thumbnail', 'excerpt', 'revisions', 'comments', 'author', 'custom-fields'], 'menu_icon' => 'dashicons-format-aside', 'show_in_rest' => true,