Is it possible in Drupal 7 to load block visibility settings programatically in module? I'm rendering block programatically and I want to include checking those settings, so it still will be possible to hide block from UI. Property of "status" and "visibility" are not enough, since it's possible that the block won't be placed in any region at all.
block_load gives you the contents of the whole row from the
$block = block_load('module', 'delta'); $region = $block->region; $weight = $block->weight; $custom = $block->custom; $visibility = $block->visibility; $pages = $block->pages; $title = $block->title;
And so on.