Where i should not use if (!defined(‘ABSPATH’)) { exit; }?
The point of that code is to prevent any PHP inside the file from being executed if the file is accessed directly outside a WordPress context. ABSPATH is defined by WordPress, so if it’s missing when the file is accessed you can tell that it’s not running in a WordPress context. So the only place … Read more