06-plugin_settings.php 539 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace cx_newsletter;
  3. use \exception;
  4. class plugin_settings
  5. extends settings
  6. implements settings_interface {
  7. protected function get_options() : array {
  8. return [
  9. 'source_address' => '[email protected]',
  10. 'reply_to_address' => '[email protected]',
  11. 'email_count' => '50',
  12. 'sms_count' => '10',
  13. 'database_version' => 'null',
  14. 'apikey' => 'TEST_APIKEY',
  15. ];
  16. }
  17. public function get_plugin_version() : int {
  18. return 2;
  19. }
  20. }