Switch Themes

//Option 1
switch_theme('twentyten','twentyten');

//Option 2

update_option('current_theme','twentyten');
update_option('template','twentyten');
update_option('stylesheet','twentyten');

0 Comments

You must be logged in to post a comment.