Getting the following error message:
[04-Aug-2021 22:18:39 UTC] PHP Warning: Use of undefined constant ultra_hidey_install - assumed 'ultra_hidey_install' (this will throw an Error in a future version of PHP) in /home/g8x/public_html/kssc.org/wp-content/plugins/ultra-hide-comments-box/ultra-hide-comment-box.php on line 31
[04-Aug-2021 22:18:39 UTC] PHP Warning: Use of undefined constant ultra_
Here is the coding and some coding around it:
/* Ultra Hide CONSTANTS */
if (!defined('ULTRA_HIDEY_VERSION')) {
define("ULTRA_HIDEY_VERSION", "1.1.4");
}
if (!defined('ULTRA_HIDEY_DIR')) {
define('ULTRA_HIDEY_DIR', WP_PLUGIN_DIR . '/' . "ultra-hide-comments-box/");
}
/* During plugin installation store ultra hide plugin version + add option for storing categories list */
if (!function_exists(ultra_hidey_install)) {
function ultra_hidey_install() {
/* Store Ultra Hide Comment Box Version */
add_option("ultra_hidey_version", "ULTRA_HIDEY_VERSION");
add_option("ultra_hidey_catlist", "");
}
}
Line 31 where the error happens is:
if (!function_exists(ultra_hidey_install)) {