set_value($value); } /** * Just here to make the migration to "Image" easier. * * @deprecated 1.1 * @since 0.9 * @return int */ public function get_id() { return $this->value; } /** * Just here to make the migration to "Image" easier. * * @deprecated 1.1 * @since 0.9 * @return null|string */ public function get_src() { return !empty($this->value) ? get_the_post_thumbnail_url($this->value, 'full') : null; } }