src/admin/metaboxes/fields/Field.php
public function save ($post_ID)
    {
        if (!$this->doSave())
            return;
        if ($post_ID === self::SITE)
            update_option($this->identifier, $this->getPostValue());
        else
            update_post_meta($post_ID, $this->identifier, $this->getPostValue());
    }
public function save ($post_ID)
    {
        if (!$this->doSave())
            return;
        if ($post_ID === self::SITE)
            update_option($this->identifier, $this->getPostValue());
        else
            update_post_meta($post_ID, $this->identifier, $this->getPostValue());
    }
public function save ( $ post_ID ) { if ( ! $ this -> doSave ( ) ) return ; if ( $ post_ID === self :: SITE ) update_option ( $ this -> identifier , $ this -> getPostValue ( ) ) ; else update_post_meta ( $ post_ID , $ this -> identifier , $ this -> getPostValue ( ) ) ; }
Saves the updated meta value to the database

@param int|string $post_ID The post ID or <pre>Field::SITE</pre> if it is a global option
Saves the updated meta value to the database