WordPress – wp-config.php essential constants

define( 'WP_SITEURL', 'http://example.com' );
define( 'WP_HOME', 'http://example.com' );

// Disable the Plugin and Theme Editor.
// @see https://wordpress.org/support/article/editing-wp-config-php/#disable-the-plugin-and-theme-editor
define( 'DISALLOW_FILE_EDIT', true );
// Disable Plugin and Theme Update and Installation
// @see https://wordpress.org/support/article/editing-wp-config-php/#disable-plugin-and-theme-update-and-installation
define( 'DISALLOW_FILE_MODS', true );