src/rwmb/RWMB.php
public function addField(Field $field)
    {
        if (array_search($field, $this->fields) === false)
            $this->fields[] = $field;
    }
public function addField(Field $field)
    {
        if (array_search($field, $this->fields) === false)
            $this->fields[] = $field;
    }
public function addField ( Field $ field ) { if ( array_search ( $ field , $ this -> fields ) === false ) $ this -> fields [ ] = $ field ; }
Adds the field to the MetaBox, if not present

@param Field $field
Adds the field to the MetaBox if not present