How To Detect App Blocks (Not App Embedded)?

TheWatcher4363
Shopify Partner
1 0 0

I have found a way to detect App Embedded Block by check the settings.json in the asset files. While I can also do the same for App Blocks by checking each json file for pages that has them, it is not efficient since I have to check every single file.

 

Is there a way to check if App Blocks is enabled for any page at all? Is there any config files that stores the app blocks info, or do I have to check all the json file to get it?

Replies 0 (0)