magento 2 add in static block code example
Example: magento 2 add in static block
getLayout() ->createBlock(\Magento\Cms\Block\Block::class) ->setBlockId('my_cmsblock_identifier') //replace my_cmsblock_identifier with real CMS bock identifier ->toHtml();?>