0 && is_readable( $sdk ) ) { require_once $sdk; // Literal array: the Freemius deployment parser reads these // settings from the call itself (spec 2026-10-04, Part A). $vizyt_fs = fs_dynamic_init( array( 'id' => '40749', 'slug' => 'vizyt', 'type' => 'plugin', 'public_key' => 'pk_ae4c5eb51f753e53c318605d66218', 'is_premium' => false, 'has_addons' => true, 'has_paid_plans' => false, 'is_org_compliant' => true, // The opt-in screen has a Skip button (wordpress.org guideline 7). 'enable_anonymous' => true, 'menu' => array( 'slug' => 'vizyt', 'first-path' => 'admin.php?page=vizyt', 'account' => true, 'contact' => false, 'support' => false, ), ) ); } } return $vizyt_fs ? $vizyt_fs : null; } /** * Whether the Freemius SDK is running for Vizyt. */ function vizyt_freemius_active(): bool { return is_object( vizyt_fs() ); } /** * Plugin deletion: Freemius's after_uninstall action, or WordPress's * uninstall hook without the SDK. Drops the tables, options and capability. */ function vizyt_fs_uninstall_cleanup(): void { \Vizyt\Core\Uninstaller::uninstall(); } if ( vizyt_fs() ) { \Vizyt\Integrations\Freemius::register( vizyt_fs() ); do_action( 'vizyt_fs_loaded' ); } else { \Vizyt\Integrations\Freemius::register_fallback(); }