From 928fa16e9dea80ab25148f6a7ce3031f20e54c46 Mon Sep 17 00:00:00 2001 From: Marie Comet Date: Tue, 23 Jul 2024 12:26:31 +0200 Subject: [PATCH] Add Gravity Forms service to force default forms theme --- inc/Framework.php | 2 ++ inc/Services/Gravity_Forms.php | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 inc/Services/Gravity_Forms.php diff --git a/inc/Framework.php b/inc/Framework.php index 95267cc0..8c0a6661 100644 --- a/inc/Framework.php +++ b/inc/Framework.php @@ -8,6 +8,7 @@ use BEA\Theme\Framework\Services\Assets_JS_Async; use BEA\Theme\Framework\Services\Editor; use BEA\Theme\Framework\Services\Editor_Patterns; +use BEA\Theme\Framework\Services\Gravity_Forms; use BEA\Theme\Framework\Services\Menu; use BEA\Theme\Framework\Services\Sidebar; use BEA\Theme\Framework\Services\Svg; @@ -37,6 +38,7 @@ class Framework { Assets_JS_Async::class, Editor::class, Editor_Patterns::class, + Gravity_Forms::class, Svg::class, Acf::class, Menu::class, diff --git a/inc/Services/Gravity_Forms.php b/inc/Services/Gravity_Forms.php new file mode 100644 index 00000000..4db0eab4 --- /dev/null +++ b/inc/Services/Gravity_Forms.php @@ -0,0 +1,35 @@ +