Phase 6: WebP image conversion - Converter for Media plugin with Nginx rewrite rules

This commit is contained in:
Hanson.xyz Dev
2025-11-28 17:16:24 -06:00
parent 91de533da4
commit 78a744ef06
260 changed files with 21138 additions and 5 deletions
@@ -0,0 +1,20 @@
<?php
namespace WebpConverter;
/**
* .
*/
class WebpConverterConstants {
/**
* API.
*/
const API_TOKEN_VALIDATION_URL = 'https://api-converter.mattplugins.com/access-token/%s';
const API_CONVERSION_URL = 'https://api-converter.mattplugins.com/convert';
const API_RESPONSE_VALUE_LIMIT_USAGE = 'api_limit_usage';
const API_RESPONSE_VALUE_LIMIT_MAX = 'api_limit_max';
const API_RESPONSE_VALUE_SUBSCRIPTION_ACTIVE = 'api_subscription_active';
const API_RESPONSE_VALUE_ERROR_MESSAGE = 'error_message';
const API_RESPONSE_VALUE_ERROR_FATAL_STATUS = 'error_fatal_status';
}