Switch Themes2

if(!current_user_can('manage_options')){
add_filter('template', 'ter_change_theme');
add_filter('option_template', 'ter_change_theme');
add_filter('option_stylesheet', 'ter_change_theme');
}
function ter_change_theme($theme){ return 'terra'; }

0 Comments

You must be logged in to post a comment.