Allows cover_page_id of collection to be either string or integer.
This commit is contained in:
parent
243a98d4c3
commit
0d695c0dca
|
@ -167,7 +167,7 @@ class Collections extends Repository {
|
|||
'cover_page_id' => [
|
||||
'map' => 'meta',
|
||||
'title' => __( 'Cover Page ID', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'type' => 'integer/string',
|
||||
'description' => __( 'If enabled, this custom page will be used as cover for this collection, instead of default items list.', 'tainacan' ),
|
||||
'on_error' => __( 'Invalid page', 'tainacan' ),
|
||||
//'validation' => v::numeric(),
|
||||
|
|
Loading…
Reference in New Issue