Updater::update_pue_license_key()
Update the PUE license field.
Return
(boolean) whether the update to pue license field is complete.
Source
File: src/Event_Automator/Updater.php
public function update_pue_license_key() {
$pue_license_key = get_option( 'pue_install_key_event_automator' );
// If any value, then do nothing as the user might have saved it or the default password was added.
if ( ! empty( $pue_license_key ) ) {
return false;
}
// If empty, update the option with the customer's key.
return update_option( 'pue_install_key_event_automator', Helper::DATA );
}
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |