Support » Plugin: Five Star Restaurant Reservations - WordPress Booking Plugin » Redirect After Submit for RTB For Multisite

Viewing 1 replies (of 1 total)
  • Hi @joewmg,

    Sorry for my late reply. I presume the plugin that you’re talking about is this one:

    https://gist.github.com/NateWr/88fa7686e21397ec4403

    To use it on multisite, you’ll need to find this line:

    
    $id = 1;
    

    You’ll need to change it so that the correct ID is used for each multisite:

    
    if (get_current_blog_id() === 1) {
      $id = 2;
    } elseif (get_current_blog_id() === 2) {
      $id = 3;
    }
    

    Those are just fake numbers, of course. You’ll need to identify the correct blog id and page id for each site.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect After Submit for RTB For Multisite’ is closed to new replies.