Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
FS_Plugin_Updater::set_update_data( FS_Plugin_Tag $new_version )

Update the updates transient with the module’s update information.


Description Description

This method is required for multisite environment. If a module is site activated (not network) and not on the main site, the module will NOT be executed on the network level, therefore, the custom updates logic will not be executed as well, so unless we force the injection of the update into the updates transient, premium updates will not work.


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813

Parameters Parameters

$new_version

(Required)


Top ↑

Source Source

File: includes/pum-sdk/freemius/includes/class-fs-plugin-updater.php



Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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