Is it possible to rename the wp-content folder dynamically? I am building a custom framework to use on themes and it would be nice to set it up where it does everything on its own.
I am using this following code right now in wp-config
define ('WP_CONTENT_DIR','/name_of_new_folder'); define('WP_CONTENT_URL','http://example.com/name_of_new_folder');
Can I pull the site domain through dynamically with PHP?