PluginProbe
Instant AI Image Generator – Create & Import Images / trunk
Instant AI Image Generator – Create & Import Images vtrunk
2.1.6 2.1.5 2.1.4 trunk 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.7 1.5.8 1.5.9 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.1.3
ai-image / admin / constants.php

constants.php in Instant AI Image Generator – Create & Import Images trunk, at admin/constants.php

37 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Constants
4 *
5 * Centralized location for all plugin constants including default API keys
6 *
7 * @package BdThemes\AiImage
8 */
9
10 // Exit if accessed directly
11 if (!defined('ABSPATH')) {
12 exit;
13 }
14
15 /**
16 * Encryption Key
17 *
18 * This key is used to encrypt/decrypt the default API keys
19 * DO NOT change this value after deploying the plugin
20 */
21 define('AI_IMAGE_ENCRYPTION_KEY', 'bdthemes-ai-image-secure-key-2026');
22
23 // Load security functions for encryption/decryption
24 require_once __DIR__ . '/security.php';
25
26 /**
27 * Default API Keys (Encrypted)
28 *
29 * These keys are used as fallback when users don't provide their own API keys
30 * Keys are encrypted for security - use BDT_AI_IMG\decrypt_key() to get plain text
31 */
32 define('AI_IMAGE_PEXELS_DEFAULT_KEY', 'NPPVOr+xpukWAuCAShwKvBFGIsA7XUecjL2oHtPiIoBpAsY/DOZu6yRMgjDbX6vJO1SjtLowWfsx/YAMJXWSbg699vBxqLblNzUdksXVpIc=');
33 define('AI_IMAGE_PIXABAY_DEFAULT_KEY', 'c/qMAD417ZxgEhAltS4YwPWcvh48RBQEhiVJVrvIknwJPxCNZupnqLoon+uA7YKd8vZBPVoqk4W+H6fO/eVZTA==');
34 define('AI_IMAGE_UNSPLASH_DEFAULT_KEY', 'LdC0mkRWxhH91XOfClPz06LI2eEmxCQ+C1qdqIXGmMVoRBpQRJh5zAGBjkbpSJI8CiLCjp5CzJqvA/KW1Ckigg==');
35 define('AI_IMAGE_GIPHY_DEFAULT_KEY', 'Oq4xYrqf8/th0H9ROkPb98oma+UaCzfdRqlPL/zsCaN1Ve1r2urUQFzY2SgdiEaQQ9grMXon9VLE+0szBpdqsw==');
36
37