Astra_Theme_Background_Updater::is_db_version_updated()

Checks if astra addon version is updated in the database


Description


Return

(true) if astra addon version is updated.


Source

File: inc/theme-update/class-astra-theme-background-updater.php

		public function is_db_version_updated() {
			// Get auto saved version number.
			/** @psalm-suppress InvalidArgument */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
			$saved_version = astra_get_option( 'theme-auto-version', false );

			return version_compare( $saved_version, ASTRA_THEME_VERSION, '=' );
		}

Changelog

Changelog
Version Description
2.3.1 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.