Set 'DEFINE' statements in plugin file instead of wp-config,php
-
Is it okay to set
DEFINE
statements in my plugin file and not inwp-config.php
before the “That’s all” line?Statements for example:
define('WP_AUTO_UPDATE_CORE', false); define('EMPTY_TRASH_DAYS', 0);
It works fine, but I wonder if it is risky in a way.
Thanks,
Ran
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Set 'DEFINE' statements in plugin file instead of wp-config,php’ is closed to new replies.