Skip to content

Instantly share code, notes, and snippets.

@vanloc0301
Created August 17, 2018 13:40
Show Gist options
  • Save vanloc0301/31729de1c9127f52ac098bbcd450d2a7 to your computer and use it in GitHub Desktop.
Save vanloc0301/31729de1c9127f52ac098bbcd450d2a7 to your computer and use it in GitHub Desktop.
public function is_license_validated()
{
$option = get_option($this->optionname);
if ($option) {
return $option['validated'];
}
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment