src/WPametu/UI/Field/Base.php
public function update($value, \WP_Post $post = null){
        if( $this->validate($value) ){
            $this->save($value, $post);
        }
    }
public function update($value, \WP_Post $post = null){
        if( $this->validate($value) ){
            $this->save($value, $post);
        }
    }
public function update ( $ value , \ WP_Post $ post = null ) { if ( $ this -> validate ( $ value ) ) { $ this -> save ( $ value , $ post ) ; } }
Save data as value

@param mixed $value
@param \WP_Post $post
Save data as value