get_slug(); $cant_find_license_key_text = fs_text( 'cant-find-license-key', $slug ); $message_above_input_field = fs_text( 'activate-license-message', $slug ); $message_below_input_field = ''; $header_title = fs_text( $fs->is_free_plan() ? 'activate-license' : 'update-license', $slug ); if ( $fs->is_registered() ) { $activate_button_text = $header_title; } else { $freemius_site_url = $fs->has_paid_plan() ? 'https://freemius.com/wordpress/' : // Insights platform information. 'https://freemius.com/wordpress/usage-tracking/'; $freemius_link = 'freemius.com'; $message_below_input_field = sprintf( fs_text( 'license-sync-disclaimer', $slug ), $fs->get_module_label( true ), $freemius_link ); $activate_button_text = fs_text( 'agree-activate-license', $slug ); } $license_key_text = fs_text( 'license-key' , $slug ); /** * IMPORTANT: * DO NOT ADD MAXLENGTH OR LIMIT THE LICENSE KEY LENGTH SINCE * WE DO WANT TO ALLOW INPUT OF LONGER KEYS (E.G. WooCommerce Keys) * FOR MIGRATED MODULES. */ $modal_content_html = <<< HTML
{$message_above_input_field}
{$cant_find_license_key_text}{$message_below_input_field}
HTML; fs_enqueue_local_style( 'fs_dialog_boxes', '/admin/dialog-boxes.css' ); ?>