get_excluded_items(string $group = null, boolean $flatten = false) : array
Get currently excluded items.
The result of this function is cached using \BWP_Cache.
default to get all, when expected items are posts,
$group is actually post type, when expected items
$group is taxonomy.
whether to flatten the items into a one dimensional
array of ids instead of grouping by
$group. To use
$group must be set to