Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nashwan D

    (@alex-ye)

    Sure, Try this:

    add_action( 'plugins_loaded', 'my_conditional_themes_setup', 100 );
    
    function my_conditional_themes_setup() {
    
        Conditional_Themes_Manager::register( 'twentyfourteen', function() {
            return in_array( get_current_user_id(), array( 3, 4, 7, 8 ) );
        } );
    
        Conditional_Themes_Manager::register( 'twentyfifteen', function() {
            return in_array( get_current_user_id(), array( 5, 6, 9 ) );
        } );
    
    }
    Thread Starter siprof

    (@siprof)

    Great! Thanks for your help ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘different theme per user group?’ is closed to new replies.