Phase 6: WebP image conversion - Converter for Media plugin with Nginx rewrite rules
This commit is contained in:
@@ -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';
|
||||
}
|
||||
Reference in New Issue
Block a user