How to rename theme's root directory?
I want to rename the theme's root folder for security purpose.
I put these in wp-config.php
file:
But I want to rename the theme's root directory also:
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/assets' );
define( 'WP_CONTENT_URL', 'http://www.domain.in/assets');
define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/extension' );
define( 'WP_PLUGIN_URL', 'http://www.domain.in/assets/extension');
So, how to rename the theme's root folder like this way?
Topic theme-roots Wordpress
Category Web