The API Key inside the
ShortPixel Image Optimizer plugin can be hidden in two simple steps:
- Open the wp-config.php file (either use your file manager from your hosting control panel, an FTP client or a plugin like File Manager)
- Add, just after the beginning
<?php
tag, on new lines:define('SHORTPIXEL_API_KEY', '<<YOUR API KEY HERE>>'); define('SHORTPIXEL_HIDE_API_KEY', true);
Make sure to replace
<<YOUR API KEY HERE>>
with your actual API Key!