if function_exists
-
I’m modifying an old plugin that has the following line (below). I commented it out, and the plugin still seems to function. I’m just wondering if there’s a good reason this code should exist? Any thoughts? I would think get_option would always exist for a WordPress site…..
if( !function_exists(‘get_option’) )
{
require_once(‘../../../wp-config.php’);
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘if function_exists’ is closed to new replies.