What is the purpose of the wp-config.php file in WordPress?

What is the purpose of the wp-config.php file in WordPress?

a) It manages theme settings
b) It contains the database configuration settings
c) It handles media uploads
d) It controls the display of widgets

Answer:

b) It contains the database configuration settings

Explanation:

The wp-config.php file contains the configuration details for the WordPress database, including the database name, username, and password.

Reference:

WordPress Quiz – MCQ Questions and Answers

Scroll to Top