function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('taxonomy' => 'category', 'class' => '', 'hide_empty' => 0), $this->args); $this->args['class'] .= ' cuztom-input cuztom-select cuztom-term-select'; $this->args['echo'] = 0; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('orderby' => 'ID', 'class' => ''), $this->args); $this->args['class'] .= ' cuztom-input cuztom-select cuztom-user-select'; $this->args['echo'] = 0; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('taxonomy' => 'category'), $this->args); $this->default_value = (array) $this->default_value; add_action('init', array(&$this, 'get_taxonomy_terms')); $this->after .= '[]'; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('post_type' => 'post', 'posts_per_page' => -1), $this->args); $this->default_value = (array) $this->default_value; $this->posts = get_posts($this->args); $this->after .= '[]'; }
function __construct($field, $meta_box) { parent::__construct($field, $meta_box); $this->options = array_merge(array('taxonomy' => 'category', 'class' => ''), $this->options); $this->options['class'] .= ' cuztom_input'; $this->options['name'] = 'cuztom[' . $this->id_name . ']' . ($this->repeatable ? '[]' : ''); $this->options['echo'] = 0; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('textarea_name' => 'cuztom[' . $this->id . ']', 'editor_class' => ''), $this->args); $this->args['editor_class'] .= ' cuztom-input'; }
function __construct($field, $meta_box) { parent::__construct($field, $meta_box); $this->options = array_merge(array('post_type' => 'post'), $this->options); $this->posts = get_posts($this->options); }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->default_value = (array) $this->default_value; $this->after .= '[]'; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->data_attributes['default-value'] = $this->default_value; }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->data_attributes['date-format'] = $this->parse_date_format(isset($this->args['date_format']) ? $this->args['date_format'] : 'm/d/Y'); $this->data_attributes['time-format'] = $this->parse_date_format(isset($this->args['time_format']) ? $this->args['time_format'] : 'H:i'); }
function __construct($field, $parent) { parent::__construct($field, $parent); $this->args = array_merge(array('post_type' => 'post', 'posts_per_page' => -1, 'cache_results' => false, 'no_found_rows' => true), $this->args); $this->posts = get_posts($this->args); }
function __construct($field, $meta_box) { parent::__construct($field, $meta_box); $this->options = array_merge(array('textarea_name' => 'cuztom[' . $this->id_name . ']', 'media_buttons' => false, 'editor_class' => ''), $this->options); $this->options['editor_class'] .= ' cuztom_input'; }
function __construct($field, $meta_box) { parent::__construct($field, $meta_box); $this->options = array_merge(array('taxonomy' => 'category'), $this->options); $this->terms = get_terms($this->options['taxonomy'], $this->options); }