LLMS_Helper_Add_On::subscribe_to_channel( string $channel = 'stable' )

Update the addons update channel subscription

Parameters Parameters


(string) (Optional) Channel name [stable|beta].

Default value: 'stable'

Top ↑

Return Return


Top ↑

Source Source

File: libraries/lifterlms-helper/includes/models/class-llms-helper-add-on.php

	public function subscribe_to_channel( $channel = 'stable' ) {

		$channels                       = llms_helper_options()->get_channels();
		$channels[ $this->get( 'id' ) ] = $channel;
		return llms_helper_options()->set_channels( $channels );


Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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