Where do I add a file do hold custom configuration variables for my wordpress website ?
e.g.
$config['forbidden_users'] = array("admin", "host");
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can save it in functions.php. Or you can add this in wp-configs.php. But right solve is add it in funcitons.php. You have 2 ways. First you can create global variable. Second You can create function which will return array(“admin”,”host”);