Пример #1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_nicename = __('Redirect', 'ninja-forms');
     $settings = Ninja_Forms::config('ActionRedirectSettings');
     $this->_settings = array_merge($this->_settings, $settings);
 }
Пример #2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_nicename = __('Email', 'ninja-forms');
     $settings = Ninja_Forms::config('ActionEmailSettings');
     $this->_settings = array_merge($this->_settings, $settings);
     $this->_backwards_compatibility();
 }
Пример #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_nicename = __('Success Message', 'ninja-forms');
     $settings = Ninja_Forms::config('ActionSuccessMessageSettings');
     $this->_settings = array_merge($this->_settings, $settings);
     add_action('nf_before_import_form', array($this, 'import_form_action_success_message'), 11);
 }
Пример #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_nicename = __('Collect Payment', 'ninja-forms');
     $settings = Ninja_Forms::config('ActionCollectPaymentSettings');
     $this->_settings = array_merge($this->_settings, $settings);
     add_action('plugins_loaded', array($this, 'register_payment_gateways'));
     add_filter('ninja_forms_action_type_settings', array($this, 'maybe_remove_action'));
 }
Пример #5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     if (!$this->_transient) {
         $this->_transient = $this->get_name() . '_newsletter_lists';
     }
     add_action('wp_ajax_nf_' . $this->_name . '_get_lists', array($this, '_get_lists'));
     $this->get_list_settings();
 }
Пример #6
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_nicename = __('Save', 'ninja-forms');
 }
Пример #7
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     add_action('wp_ajax_nf_' . $this->_name . '_get_lists', array($this, '_get_lists'));
     $this->get_list_settings();
 }