whoami7 - Manager
:
/
home
/
techyfnq
/
public_html
/
wp-content
/
plugins
/
site-reviews
/
plugin
/
Notices
/
Upload File:
files >> //home/techyfnq/public_html/wp-content/plugins/site-reviews/plugin/Notices/LicenseNotice.php
<?php namespace GeminiLabs\SiteReviews\Notices; use GeminiLabs\SiteReviews\License; class LicenseNotice extends AbstractNotice { public function render(): void { $licensing = glsr(License::class)->status(); if ($licensing['isSaved'] && $licensing['isValid']) { return; } if ($this->isDismissed() && $licensing['isValid']) { return; } glsr()->render('partials/notices/license', $licensing); } protected function canRender(): bool { if (!$this->hasPermission()) { return false; } if (!$this->isNoticeScreen()) { return false; } return true; } protected function isMonitored(): bool { return false; } protected function version(): string { return glsr()->version('minor'); } }
Copyright ©2021 || Defacer Indonesia