Add constant to force enabling the selection of all items #199

This commit is contained in:
leogermani 2019-03-14 11:40:59 -03:00 committed by Mateus Machado Luna
parent af0fa1cfb1
commit 5b79a6b1a2
1 changed files with 3 additions and 0 deletions

View File

@ -236,6 +236,9 @@ class Admin {
$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;
}