Rename the wp-content folder

PHOTO EMBED

Tue Jul 05 2022 17:34:07 GMT+0000 (UTC)

Saved by @satinbest #php

// Renommer le dossier 'wp-content'
define ('WP_CONTENT_FOLDERNAME', '/wp-services');
define( 'WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME );
define( 'WP_SITEURL', 'http://' . $_SERVER[ 'HTTP_HOST' ] );
define( 'WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME );
content_copyCOPY

As the wp-content folder can be moved, it can also be renamed. Below you can see a few lines allowing for this kind of thing.(code in wp-config)