diff --git a/src/Admin/GeneralOptionsPage.php b/src/Admin/GeneralOptionsPage.php index dea80c3..3544efe 100644 --- a/src/Admin/GeneralOptionsPage.php +++ b/src/Admin/GeneralOptionsPage.php @@ -7,6 +7,8 @@ namespace TLA_Media\GTM_Kit\Admin; +use TLA_Media\GTM_Kit\Common\Conditionals\PremiumConditional; + /** * GeneralOptionsPage */ @@ -127,6 +129,7 @@ public function localize_script( string $page_slug, string $script_handle ): voi 'currentPage' => $page_slug, 'root' => \esc_url_raw( rest_url() ), 'nonce' => \wp_create_nonce( 'wp_rest' ), + 'isPremium' => ( new PremiumConditional() )->is_met(), 'tutorials' => $this->get_tutorials(), 'integrations' => Integrations::get_integrations(), 'adminPageUrl' => $this->util->get_admin_page_url(),