Ejemplo n.º 1
0
 /**
  * Update values.
  *
  * Retreive and render the new condition values according to the condition key.
  *
  * @since 1.0.0
  */
 public function was_update_condition_value()
 {
     was_condition_values($_POST['id'], $_POST['group'], $_POST['condition']);
     die;
 }
Ejemplo n.º 2
0
 /**
  * Value dropdown.
  *
  * Render and load value dropdown.
  *
  * @since 1.0.0
  */
 public function was_condition_values()
 {
     was_condition_values($this->id, $this->group, $this->condition, $this->value);
 }
Ejemplo n.º 3
0
 /**
  * Update values.
  *
  * Retreive and render the new condition values according to the condition key.
  *
  * @since 1.0.0
  */
 public function was_update_condition_value()
 {
     check_ajax_referer('was-ajax-nonce', 'nonce');
     was_condition_values($_POST['id'], $_POST['group'], $_POST['condition']);
     die;
 }