Файловый менеджер - Редактировать - /home/digitalm/www/zetaworks/wp-content/themes/uncode/core/inc/api/class-api-license.php
Назад
<?php /** * API License Class */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( ! class_exists( 'Uncode_API_License' ) ) : /** * Uncode_API_License Class */ class Uncode_API_License { /** * Endpoint. */ private $endpoint = 'https://api.undsgn.com/uncode-license/'; /** * Get things going */ function __construct() { // Do nothing } /** * Add new license. */ public function save_license( $purchase_code ) { // Make the request $response = wp_remote_post( $this->endpoint . 'save-license.php', array( 'body' => array( 'purchase_code' => $purchase_code ), 'timeout' => 45 ) ); // Check response $response_code = uncode_api_check_response( $response ); return $response_code; } } endif;
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.08 |
proxy
|
phpinfo
|
Настройка