getDefaultScheme(); update_option('elementor_scheme_' . static::getType(), $scheme_value); } return $scheme_value; } /** * Save scheme. * * Update Elementor scheme in the database, and update the last updated * scheme time. * * @since 1.0.0 * * @param array $posted */ public function saveScheme(array $posted) { update_option('elementor_scheme_' . static::getType(), $posted); update_option(self::LAST_UPDATED_META, time()); } /** * Get scheme. * * Retrieve the scheme. * * @since 1.0.0 * * @return array The scheme */ public function getScheme() { $scheme = []; foreach ($this->getSchemeValue() as $scheme_key => $scheme_value) { $scheme[$scheme_key] = [ 'value' => $scheme_value, ]; } return $scheme; } }