From 10ae3a6f9934d3a975b06f07547ed10e7c421ecc Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 18 Dec 2024 11:14:44 +0100 Subject: [PATCH] add revisions in the supports array for post type artisans --- 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 736acf9..bdfe5cd 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -19,7 +19,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'), + 'supports' => array('title', 'custom-fields', 'thumbnail', 'revisions'), ) ); // **** CHANTIERS