Astra_Theme_Background_Updater::is_new_install()

Is this a brand new theme install?


Description


Return

(boolean)


Source

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

		public function is_new_install() {

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

			if ( false === $saved_version ) {
				return true;
			}

			return false;
		}

Changelog

Changelog
Version Description
2.1.3 Introduced.


User Contributed Notes

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