--- title: Theme app extensions now support conditional app blocks - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/theme-app-extensions-now-support-conditional-app-blocks md: https://shopify.dev/changelog/theme-app-extensions-now-support-conditional-app-blocks.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 4, 2022 Tags: * API * 2022-04 # Theme app extensions now support conditional app blocks The visibility of an app block, or app embed block, of a [theme app extension](https://shopify.dev/apps/online-store/theme-app-extensions/) can now be controlled based on a custom condition. The condition can be included in the block's [schema](https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#schema) with the `available_if` attribute, and the state of the condition is stored in an [app-owned metafield](https://shopify.dev/api/admin-graphql/2022-04/enums/MetafieldOwnerType#value-apipermission). The metafield can be accessed through the Liquid [`app` object](https://shopify.dev/api/liquid/objects/app). To learn more about conditional app blocks, refer to [Theme app extensions framework](https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#conditional-app-blocks).