Add constant to force enabling the selection of all items #199
This commit is contained in:
parent
af0fa1cfb1
commit
5b79a6b1a2
|
@ -236,6 +236,9 @@ class Admin {
|
||||||
|
|
||||||
$settings['wp_post_types'] = $wp_post_types;
|
$settings['wp_post_types'] = $wp_post_types;
|
||||||
|
|
||||||
|
// add an alternative to enable select all items in all pages while we temporarly disable bulk edit for all (see #199)
|
||||||
|
$settings['enable_select_all_items_pages'] = defined('TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES') ? TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES : false;
|
||||||
|
|
||||||
return $settings;
|
return $settings;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue