LLMS_Helper_Add_On::subscribe_to_channel( string $channel = 'stable' )
Update the addons update channel subscription
Parameters Parameters
- $channel
-
(string) (Optional) Channel name [stable|beta].
Default value: 'stable'
Return Return
(boolean)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |