diff --git a/src/Roots/Acorn/Sage/Concerns/FiltersTemplates.php b/src/Roots/Acorn/Sage/Concerns/FiltersTemplates.php index 960b2408..39969091 100644 --- a/src/Roots/Acorn/Sage/Concerns/FiltersTemplates.php +++ b/src/Roots/Acorn/Sage/Concerns/FiltersTemplates.php @@ -16,7 +16,7 @@ public function filterTemplateHierarchy($files) { $templates = [...$this->sageFinder->locate($files), ...$files]; - return ! get_theme_support('block-templates') + return ! current_theme_supports('block-templates') ? $templates : array_reverse($templates); }