getBlocks('Main') Not Working
Permalink
I try to use getBlocks to get block in Main area, but it seems print an empty array, anyone can help me?
This is my code :
Update :
Sorry, I'm not checking it, it has a layout so it just print empty array.
Problem solved.
This is my code :
$ts = $c->getBlocks('Header Image'); //This is working $ts = $c->getBlocks('Main'); //This not working
Update :
Sorry, I'm not checking it, it has a layout so it just print empty array.
Problem solved.