Title: Multisite Activation (Feature Request)
Last modified: October 11, 2020

---

# Multisite Activation (Feature Request)

 *  [ryandaviddwyer](https://wordpress.org/support/users/ryandaviddwyer/)
 * (@ryandaviddwyer)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/multisite-activation-feature-request/)
 * Code Snippets works quite well when multisite network activated. I like the “
   toggle” button feature but in each subsite it is not active by default. It will
   be annoying to have to activate each client’s subsite code snippets. Here’s my
   suggestion:
    1) Have current option to activate on subsites 2) Allow a checkbox
   which says, “Default Toggle On for All Subsites” 3) Allow a checkbox which says,“
   Default Toggle Off for All Subsites”
 * This way, for environments where the clients will not have access to the plugin(
   only admins) they won’t mess up site code by accident. And it will allow super
   admins to not have to activate code which is meant to be automatically functional.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/multisite-activation-feature-request/#post-13726913)
 * The ‘shared network snippets’ feature essentially achieves (3), allowing you 
   to have network snippets visible on all subsites without being active.
 * It would be possible to also add some sort of ‘exclude only these subsites’ feature,
   but I’m not sure if it would be worth adding a bunch of extra logic for this 
   feature. Remember, you can always exclude subsites from the snippet code itself
   using [`get_current_blog_id()`](https://developer.wordpress.org/reference/functions/get_current_blog_id/).
 *  [Nic Winn](https://wordpress.org/support/users/nicwinner/)
 * (@nicwinner)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/multisite-activation-feature-request/#post-13998645)
 * [@bungeshea](https://wordpress.org/support/users/bungeshea/) where would that
   exclusion code be added? Is there a code example you can point to?
    Thanks
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/multisite-activation-feature-request/#post-13998661)
 * [@nicwinner](https://wordpress.org/support/users/nicwinner/) do you have an example
   of the sort of snippet you would like to exclude?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multisite Activation (Feature Request)’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/multisite-activation-feature-request/#post-13998661)
 * Status: not a support question