Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
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
PUM_Extension_License::auto_updater()
Auto updater
Description Description
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
Return Return
(void)
Source Source
File: classes/Extension/License.php
public function auto_updater() { $args = array( 'version' => $this->version, 'license' => $this->license, 'author' => $this->author, 'beta' => PUM_Admin_Tools::extension_has_beta_support( $this->item_shortname ), ); if ( ! empty( $this->item_id ) ) { $args['item_id'] = $this->item_id; } else { $args['item_name'] = $this->item_name; } // Setup the updater $popmake_updater = new PUM_Extension_Updater( $this->api_url, $this->file, $args ); }
Expand full source code Collapse full source code View on Trac