run(); } if ( !function_exists( 'polylai_fs' ) ) { // Create a helper function for easy SDK access. function polylai_fs() { global $polylai_fs; if ( !isset( $polylai_fs ) ) { // Include Freemius SDK. // SDK is auto-loaded through composer $polylai_fs = fs_dynamic_init( array( 'id' => '15708', 'slug' => 'ai-translator-for-polylang', 'premium_slug' => 'polylai-translator-premium', 'type' => 'plugin', 'public_key' => 'pk_fe7dde2a72823221dcac1d8dea75f', 'is_premium' => false, 'has_addons' => false, 'has_paid_plans' => true, 'menu' => array( 'slug' => 'polylai', 'first-path' => 'admin.php?page=polylai-tutorial', ), 'is_live' => true, 'is_org_compliant' => true, ) ); } return $polylai_fs; } // Init Freemius. polylai_fs(); // Signal that SDK was initiated. do_action( 'polylai_fs_loaded' ); } polylai_run();