handling revision(s) instead of revision

This commit is contained in:
Antoine M 2024-07-09 10:31:25 +02:00
parent a15dabfa85
commit 8b3327e9af

View File

@ -193,7 +193,7 @@ function create_posttype()
'show_in_rest' => true,
'menu_icon' => 'dashicons-forms',
'supports' => array('title', 'custom-fields'),
'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revision', 'excerpt'),
'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revisions', 'excerpt'),
)
);