| @@ -778,8 +778,9 @@ | ||
| 778 | 778 | |
| 779 | 779 | public static function get_all_settings() { |
| 780 | 780 | return array( |
| 781 | 781 | 'default_country_code' => get_option( 'notifier_default_country_code', '' ), |
| 782 | + 'disable_background_processing' => get_option( 'notifier_disable_background_processing', 'no' ), | |
| 782 | 783 | 'ctc_enable' => get_option( 'notifier_ctc_enable', 'no' ), |
| 783 | 784 | 'ctc_whatsapp_number' => get_option( 'notifier_ctc_whatsapp_number', '' ), |
| 784 | 785 | 'ctc_greeting_text' => get_option( 'notifier_ctc_greeting_text', '' ), |
| 785 | 786 | 'ctc_button_style' => get_option( 'notifier_ctc_button_style', 'default' ), |
| @@ -793,8 +794,9 @@ | ||
| 793 | 794 | |
| 794 | 795 | private static function get_settings_field_definitions() { |
| 795 | 796 | return array( |
| 796 | 797 | 'default_country_code' => array( 'type' => 'text' ), |
| 798 | + 'disable_background_processing' => array( 'type' => 'checkbox' ), | |
| 797 | 799 | 'ctc_enable' => array( 'type' => 'checkbox' ), |
| 798 | 800 | 'ctc_whatsapp_number' => array( 'type' => 'text' ), |
| 799 | 801 | 'ctc_greeting_text' => array( 'type' => 'text' ), |
| 800 | 802 | 'ctc_button_style' => array( 'type' => 'select', 'options' => self::get_button_styles(), 'default' => 'default' ), |