*/ public static function config(): array { return [ 'plugin' => 'daytidy', 'basename' => Profile::getInstance()->basename(), 'textdomain' => 'daytidy', 'class' => 'daytidy-engagement', 'title' => __('Deactivate DayTidy', 'daytidy'), 'description' => __('If you have a moment, please share why you are deactivating DayTidy.', 'daytidy'), 'disclosure' => __('Selecting “Submit & Deactivate” sends this site’s URL, the selected reason, and any optional comments to Webilia.', 'daytidy'), 'privacy_url' => 'https://webilia.com/privacy-policy/', 'terms_url' => 'https://webilia.com/terms-and-conditions/', 'support_url' => 'https://daytidy.com/support/', 'reason_required' => __('Please select a reason.', 'daytidy'), 'error' => __('Could not send feedback. You can skip and deactivate.', 'daytidy'), 'labels' => [ 'reason' => __('Reason', 'daytidy'), 'details' => __('Details (optional)', 'daytidy'), 'skip' => __('Skip & Deactivate', 'daytidy'), 'cancel' => __('Cancel', 'daytidy'), 'submit' => __('Submit & Deactivate', 'daytidy'), 'privacy' => __('Privacy Policy', 'daytidy'), 'terms' => __('Terms and Conditions', 'daytidy'), 'support' => __('Support', 'daytidy'), 'close' => __('Close dialog', 'daytidy'), ], 'reasons' => self::reasons(), ]; } /** @return array> */ public static function reasons(): array { return [ 'missing-a-feature' => [ 'title' => __('Missing a feature', 'daytidy'), 'placeholder' => __('Anything that can help', 'daytidy'), 'icon' => 'puzzle', ], 'had-conflicts' => [ 'title' => __("Didn't work / Had conflicts", 'daytidy'), 'placeholder' => __('Anything that can help', 'daytidy'), 'icon' => 'alert', ], 'hard-to-use' => [ 'title' => __('Hard to use', 'daytidy'), 'placeholder' => __('Anything that can help', 'daytidy'), 'icon' => 'question', ], 'found-a-better-plugin' => [ 'title' => __('Found a better plugin', 'daytidy'), 'placeholder' => __('Please share which plugin', 'daytidy'), 'icon' => 'search', ], 'no-longer-needed' => [ 'title' => __("Don't need it anymore", 'daytidy'), 'placeholder' => __('Anything that can help', 'daytidy'), 'icon' => 'waving-hand', ], 'temporary-deactivation' => [ 'title' => __('Temporary deactivation', 'daytidy'), 'placeholder' => __('Anything that can help', 'daytidy'), 'icon' => 'time-half-pass', ], 'other' => [ 'title' => __('Other', 'daytidy'), 'placeholder' => __('Please share the reason', 'daytidy'), 'icon' => 'three-dots', ], ]; } }