src/Meta/Meta.php
public function save($object, $values)
    {
        if (Cuztom::isEmpty($values)) {
            return;
        }

        // Filter
        $values = apply_filters('cuztom_meta_values', $values, $this);

        // Do
        do_action('cuztom_meta_save', $this);

        foreach ($this->data as $id => $field) {
            $field->save($object, $values);
        }
    }
public function save($object, $values)
    {
        if (Cuztom::isEmpty($values)) {
            return;
        }

        // Filter
        $values = apply_filters('cuztom_meta_values', $values, $this);

        // Do
        do_action('cuztom_meta_save', $this);

        foreach ($this->data as $id => $field) {
            $field->save($object, $values);
        }
    }
public function save ( $ object , $ values ) { if ( Cuztom :: isEmpty ( $ values ) ) { return ; } // Filter $ values = apply_filters ( 'cuztom_meta_values' , $ values , $ this ) ; // Do do_action ( 'cuztom_meta_save' , $ this ) ; foreach ( $ this -> data as $ id => $ field ) { $ field -> save ( $ object , $ values ) ; } }
Normal save method to save all the fields in a metabox.

@param int   $object Object ID
@param array $values Array of values
Normal save method to save all the fields in a metabox .