array( 'id' => 'delete_on_uninstall', 'type' => 'html', 'html' => '', 'label' => __( 'Remove ALL Ninja Forms data upon uninstall?', 'ninja-forms' ), 'desc' => sprintf( __( 'If this button is checked, ALL Ninja Forms data will be removed from the database and the Ninja Forms plug-in will be deactivated. %sAll form and submission data will be unrecoverable.%s', 'ninja-forms' ), '', '' ), ), /* |-------------------------------------------------------------------------- | Delete Prompt for Delete on Uninstall |-------------------------------------------------------------------------- */ 'delete_prompt' => array( 'id' => 'delete_prompt', 'type' => 'prompt', 'desc' => __( 'This setting will COMPLETELY remove anything Ninja Forms related upon plugin deletion. This includes SUBMISSIONS and FORMS. It cannot be undone.', 'ninja-forms' ), ), /* |-------------------------------------------------------------------------- | Disable Admin Notices |-------------------------------------------------------------------------- */ 'disable_admin_notices' => array( 'id' => 'disable_admin_notices', 'type' => 'checkbox', 'label' => __( 'Disable Admin Notices', 'ninja-forms' ), 'desc' => __( 'Never see an admin notice on the dashboard from Ninja Forms. Uncheck to see them again.', 'ninja-forms' ), ), /* |-------------------------------------------------------------------------- | "Dev Mode" |-------------------------------------------------------------------------- */ 'builder_dev_mode' => array( 'id' => 'builder_dev_mode', 'type' => 'checkbox', 'label' => __( 'Form Builder "Dev Mode"', 'ninja-forms' ), ), /* |-------------------------------------------------------------------------- | Tracking Opt-in |-------------------------------------------------------------------------- */ 'allow_tracking' => array( 'id' => 'allow_tracking', 'type' => 'html', 'html' => '', 'label' => __( 'Allow Telemetry', 'ninja-forms' ), 'desc' => __( 'Opt-in to allow Ninja Forms to collect anonymous usage statistics from your site, such as PHP version, installed plugins, and other non-personally idetifiable informations.', 'ninja-forms' ), ), // 'allow_tracking' => array( // 'id' => 'allow_tracking', // 'type' => 'checkbox', // 'label' => __( 'Allow Tracking', 'ninja-forms' ), // 'desc' => __( 'If you opt-in, some data about your installation of Ninja Forms will be sent to NinjaForms.com (this does NOT include your submissions).', 'ninja-forms' ) // ), /* |-------------------------------------------------------------------------- | Opinionated Styles |-------------------------------------------------------------------------- */ 'opinionated_styles' => array( 'id' => 'opinionated_styles', 'type' => 'select', 'label' => __( 'Opinionated Styles', 'ninja-forms' ), 'options' => array( array( 'label' => __( 'None', 'ninja-forms' ), 'value' => '', ), array( 'label' => __( 'Light', 'ninja-forms' ), 'value' => 'light', ), array( 'label' => __( 'Dark', 'ninja-forms' ), 'value' => 'dark', ), ), 'desc' => __( 'Use default Ninja Forms styling conventions.', 'ninja-forms' ), 'value' => '' ), /* |-------------------------------------------------------------------------- | Rollback to v2.9.x |-------------------------------------------------------------------------- */ 'downgrade' => array( 'id' => 'downgrade', 'type' => 'html', 'html' => '
' . __( 'Downgrade', 'ninja-forms' ) . '
', 'label' => __( 'Downgrade to v2.9.x', 'ninja-forms' ), 'desc' => __( 'Downgrade to the most recent 2.9.x release.', 'ninja-forms' ) . '
' . __( 'IMPORTANT: All 3.0 data will be removed.', 'ninja-forms' ) . '
' . __( 'Please export any forms or submissions you do not want to be lost during this process.', 'ninja-forms' ) . '
', ), 'trash_expired_submissions' => array( 'id' => 'trash_expired_submissions', 'type' => 'html', 'html' => '
' . __( 'Move To Trash', 'ninja-forms' ) . '
', 'label' => __( 'Trash Expired Submissions', 'ninja-forms' ), 'desc' => __( 'This setting maybe helpful if your WordPress installation is not moving expired submissions to the trash properly.', 'ninja-forms' ), ), // Add a button for removing all forms from maintenance 'remove_maintenance_mode' => array( 'id' => 'remove_maintenance_mode', 'type' => 'html', 'html' => '
' . __( 'Remove Maintenance Mode', 'ninja-forms' ) . '
', 'label' => __( 'Remove Maintenance Mode', 'ninja-forms' ), 'desc' => __( 'Click this button if any of your forms are still in \'Maintenance Mode\' after performing any required updates.' , 'ninja-forms' ), ), ));