cached files after switch theme
-
Hi,
Do you think there is a way to address correct cached files after theme switch:add_action( 'setup_theme', 'switch_user_theme' ); function switch_user_theme() { if ( in_array( wp_get_current_user()->ID, array( 5 ) ) ) { $user_theme = 'fezforprez'; add_filter( 'template', create_function( '$t', 'return "' . $user_theme . '";' ) ); add_filter( 'stylesheet', create_function( '$s', 'return "' . $user_theme . '";' ) ); } }
https://www.ads-software.com/plugins/minipress/
This works, but not with minipress, ??
- The topic ‘cached files after switch theme’ is closed to new replies.