From c955f857c77fa055227037969611b544445f6df2 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 8 Apr 2025 11:32:33 +0200 Subject: [PATCH] FEAT added support for preview functionality in post type configuration --- includes/post_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/post_types.php b/includes/post_types.php index 4215f16..fb70f1f 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -28,7 +28,7 @@ function metiers_patrimoine_create_posttype() 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), // 'menu_icon' => 'dashicons-hammer', 'menu_position' => 5.1, - 'supports' => array('title', 'custom-fields', 'thumbnail', 'revisions'), + 'supports' => array('title', 'custom-fields', 'thumbnail', 'revisions', 'preview'), ) ); // **** CHANTIERS