Example #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;
 }
Example #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);
 }
 /**
  * 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;
 }