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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.1.3 | Introduced. |