\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/www/html/dmrcas/wordpress/wp-content/plugins/buttonizer-multifunctional-button/app/Api/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/dmrcas/wordpress/wp-content/plugins/buttonizer-multifunctional-button/app/Api/Api.php |
<?php
/*
* SOFTWARE LICENSE INFORMATION
*
* Copyright (c) 2017 Buttonizer, all rights reserved.
*
* This file is part of Buttonizer
*
* For detailed information regarding to the licensing of
* this software, please review the license.txt or visit:
* https://buttonizer.pro/license/
*/
namespace Buttonizer\Api;
class Api
{
/**
* Register 3.0 API endpoints
*/
public function __construct()
{
// Site synchronization
(new Connection\Sync())->registerRoute();
(new Connection\Disconnect())->registerRoute();
(new Connection\Connect())->registerRoute();
// Plugin settings
(new Settings\UpdateSettings())->registerRoute();
// Editor
(new Connection\StartEditorSession())->registerRoute();
// Analytics
(new Analytics\Overview())->registerRoute();
// Legacy
(new Utils\DeleteLegacyBackup())->registerRoute();
(new Utils\RevertToLegacy())->registerRoute();
}
/**
* Return error, need Buttonizer pro
*/
public static function needButtonizerPremium()
{
return new \WP_Error('missing_premium_license', 'You do not have Buttonizer Pro.', [
'status' => 403
]);
}
}