Add metas.

@param string $type
@param array $values
482923
private function addMetas($type, array $values)
    {
        foreach ($values as $key => $value) {
            $this->seoPage->addMeta($type, $key, $value);
        }
    }
762088
public function addExtraKeys(array $values)
    {
        foreach ($values as $key => $value) {
            $this->setExtraKey($key, $value);
        }
    }
573346
public function addAttribute($key, $value, $type = Attribute::T_DEFAULT){
		$this->attributes[] = new Attribute($key, $value, $type);
		return $this;
	}
411943
function tabify_add_meta_boxes( $post_type )
	{
		// get acf's
		$acfs = apply_filters('acf/get_field_groups', array());
		
		if($acfs)
		{
			foreach($acfs as $acf)
			{
				// add meta box
				add_meta_box(
					'acf_' . $acf['id'], 
					$acf['title'], 
					array($this, 'dummy'), 
					$post_type
				);
				
			}
			// foreach($acfs as $acf)
		}
		// if($acfs)
	}
1137035
public static function add($typeName, $values, $before = null)
    {
        $values = (array) $values;

        $db = static::getDb();
        if ($db->getTransaction()) {
            // It cannot add a value during a transaction.
            // Start new connection without transactions.
            $db = static::newConnection();
        }

        $query = 'ALTER TYPE ' . $db->quoteColumnName($typeName)
            . ' ADD VALUE IF NOT EXISTS ';

        $beforeQuery = $before !== null
            ? ' BEFORE ' . $db->quoteValue($before)
            : '';

        foreach ($values as $value) {
            $db->createCommand($query . $db->quoteValue($value) . $beforeQuery)->execute();
        }
    }
925137
protected function setValues($type)
    {
        switch ($type) {
            case static::CLIENT:
                $this->values = ['cs', 'cr'];
                break;
            case static::SERVER:
                $this->values = ['sr', 'ss'];
                break;
            default:
                throw new \InvalidArgumentException('$type must be TYPE_CLIENT or TYPE_SERVER');
        }
    }
742539
public function addValues($values=array()) {
		return $this->_addOrSetValues($values, function(HtmlTR $row,$_values){$row->addValues($_values);});
	}
62573
protected function _addCondition($type, $fragment, $values = [])
        {
            $conditions_class_property_name = "_{$type}_conditions";

            if (!Arrays::is($values)) {
                $values = array($values);
            }

            array_push(
                $this->$conditions_class_property_name,
                array(
                    self::CONDITION_FRAGMENT => $fragment,
                    self::CONDITION_VALUES => $values,
                )
            );

            return $this;
        }
1294527
public function add(string $path, array $values): void
    {
        $get = (array)$this->get($path);
        $this->set($path, $this->arrayMergeRecursiveDistinct($get, $values));
    }
1069343
public function setMetadataValues($values)
    {
        foreach ($values as $name => $value) {
            $this->metadata[$name] = $value;
        }
    }
1107258
private static function updateFieldMeta(&$field, $values)
    {
        // Update Field Meta ItemType
        self::updateFieldStrVal($field, $values, "itemtype");
        // Update Field Meta ItemProp
        self::updateFieldStrVal($field, $values, "itemprop");
        // Update Field Meta Tag
        if (isset($values["itemprop"]) || isset($values["itemtype"])) {
            if (is_string($field->itemprop) && is_string($field->itemtype)) {
                $field->tag = md5($field->itemprop.IDSPLIT.$field->itemtype);
            }
        }
    }
98001
protected function setValue($value, string $type)
    {
        $this->value = $type !== self::TYPE_CALL
            ? $this->validateValue($value)
            : array_map(function ($value) {
                return $this->validateValue($value);
            }, $value);
    }
832601
public function addMeta($tag, $value, array $attributes = []){
		$value = $this->h($value);
		if( false !== strpos($tag, ':') ){
			$tags = explode(':', $tag);
			$node = $this->dom->metadata->addChild($tags[1], $value, Schemas::getUri($tags[0]));
		}else{
			$node = $this->dom->metadata->addChild($tag, $value);
		}
		foreach( $attributes as $key => $val ){
			$node[$key] = $this->h($val);
		}
	}
952432
public function addMeta($meta = array())
	{
		foreach ($meta as $type => $value)
		{
			$this->meta[$type] = array_merge($this->meta[$type], $value);
		}
	}
1243733
public function add( $name, $type = Type::TEXT, $rules = [] ) {
		$this->fields[$name] = new Field($name, $type, $rules);
		$this->types = [];	// clear this so it will be refreshed when we've finished adding fields
		return $this;
	}
900542
public function setAcceptedTypes(array $types)
    {
        /** @var \DOMNodeList $nodes */
        // No REQUIRED — no exception.
        $nodes = $this->query('app:accept');
        foreach ($nodes as $node) {
            $this->getDomElement()->removeChild($node);
        }
        foreach ($types as $type) {
            $element = $this->getDomElement()->ownerDocument
                ->createElementNS($this->ns(), 'accept', $type);
            $this->getDomElement()->appendChild($element);
        }
        $this->setCachedProperty('accept', $types);
    }
849903
public function addQuoted(string $type, string $value): void
    {
        if ($value[0]=='"') {
            $value = substr($value, 1, -1);
        }
        $value = stripcslashes($value);

        if ($this->entry[$type] === null) {
            $this->entry[$type] = array();
        }
        $this->entry[$type] = (array) $this->entry[$type];
        $this->entry[$type][] = $value;
    }