/** * Standard meta retrieval * * @param int $post_id * @param array $field * @param bool $saved * * @return mixed */ static function meta($post_id, $saved, $field) { $meta = parent::meta($post_id, $saved, $field); return empty($meta) ? array() : (array) $meta; }
/** * Get meta value * * @param int $post_id * @param bool $saved * @param array $field * * @return mixed */ static function meta($post_id, $saved, $field) { $field['multiple'] = true; return parent::meta($post_id, $saved, $field); }