Carbon_Fields\Container\Term_Meta_Container::save PHP Method

save() public method

The call is propagated to all fields in the container.
public save ( integer $term_id )
$term_id integer ID of the term against which save() is ran
    public function save($term_id)
    {
        $this->set_term_id($term_id);
        foreach ($this->fields as $field) {
            $field->set_value_from_input();
            $field->save();
        }
        do_action('carbon_after_save_term_meta', $term_id);
    }