Display a block in a page I have a block created with Views that I want to display in a node where "PHP filter" is enabled. How can I display the content of that block?

All the examples I can find seem to be for Drupal 6.
$block = module_invoke('views', 'block_view', 'ViewName-DisplayId');
     echo $block['content']['#markup'];

Parameters in module_invoke:

module to call: 'views'
hook to call, in this case 'block_view'
View name and display id of the block, separated by an hyphen. For example 'testview-block_1'

The display id of the block it will show only when hovering the mouse over the &quot;Block&quot; word in the Views page of the Block. You will see an url like this: http:///admin/structure/views/nojs/display/testview/block_1
The block_1 is the display id in this case.