You are working on a custom page where the content of a CMS block has to be rendered. You know the merchant is using Staging for CMS blocks. In your code you have access to the $repository object which is an instance of \Magento\Cms\Api\BlockRepositoryInterface. $blockld which is the original block ID, and $current Version which is the current Staging version.
How do you load the CMS block with the right Staging version?
A)
B)
C)
D)
Aliza
3 days agoMarnie
7 days ago