Brainstorm_Update_Astra_Addon::enable_astra_beta_updates( boolean $status )

Enable autoupdates for Astra Theme if beta updates option is selected or currently installed theme/pro versions are beta or alpha.


Description


Parameters

$status

(boolean) (Required) True if updates are tobe enabled. False if updates are to be disabled.


Return

(boolean) True if updates are tobe enabled. False if updates are to be disabled.


Source

File: class-brainstorm-update-astra-addon.php

		public function enable_astra_beta_updates( $status ) {
			if ( BSF_Update_Manager::bsf_allow_beta_updates( 'astra' ) || $this->is_using_beta() ) {
				$status = true;
			}

			return $status;
		}

Changelog

Changelog
Version Description
1.5.1 Introduced.


User Contributed Notes

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