protected function getProjectData() { $projectData = parent::getProjectData(); $projectData['project-description'] = get_bloginfo('description'); $projectData['plugin-version'] = RublonHelper::getCurrentPluginVersion(); $projectData['lang'] = RublonHelper::getBlogLanguage(); $current_user = wp_get_current_user(); $email = RublonHelper::getUserEmail($current_user); $projectData['project-owner-email'] = $email; $projectData['project-owner-email-hash'] = self::hash($email); $projectData[RublonConsumerRegistrationCommon::FIELD_PARTNER_KEY] = RublonHelper::getPartnerKey(); return $projectData; }
/** * Add edition name and version number to the admin footer */ function footer_add_rublon_version() { echo '<div style="position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto; width: 300px; height: 30px; padding: 10px 20px; text-align: center;"><p style="color: #777;">' . __('Protected by') . ' <i>Rublon ' . (RublonHelper::isPersonalEdition() ? __('Personal Edition') : __('Business Edition')) . '</i> v.' . RublonHelper::getCurrentPluginVersion() . '</p></div>'; }