public function mode() { if (empty($this->args['mode']) || $this->args['mode'] == 'all') { $this->__unset('mode'); return; } $this->__set('meta_query', array('key' => '_give_payment_mode', 'value' => $this->args['mode'])); }