* @link http://wp-dreams.com, http://codecanyon.net/user/wpdreams/portfolio * @copyright Copyright (c) 2017, Ernest Marcinko */ class wd_UserMeta extends wpdreamsType { private $args = array(); private $e_data; function getType() { parent::getType(); $this->processData(); $inst = self::$_instancenumber; // Need this, as the static variable is overwritten when the callback is created ?>
label; ?>
'', 'args' => array( 'callback' => 'wd_um_ajax_callback', 'limit' => 20, 'usermeta' => 1 ) ) ); ?>
    :)

    e_data != null && is_array($this->e_data)) { foreach ($this->e_data as $k => $v) { echo '
  • ' . $v . '
  • '; } } ?>
data) && isset($this->data['args']) ) $this->args = array_merge($this->args, $this->data['args']); if ( is_array($this->data) && isset($this->data['value']) ) { // If called from back-end non-post context $this->e_data = $this->decode_param($this->data['value']); $this->data = $this->encode_param($this->data['value']); } else { // POST method or something else $this->e_data = $this->decode_param($this->data); $this->data = $this->encode_param($this->data); } /** * At this point the this->data variable surely contains the encoded data, no matter what. */ } public final function getData() { return $this->data; } public final function getSelected() { return $this->e_data; } } }