What are Attributes used for in a WordPress Multisite?

When you edit a WordPress Multisite, there is this section of Attributes with multicheckboxes to select from, just curious what this actually does (if anything). I never needed to check “Public” checkbox in here for the site to be shown publicly. This is very strange to me and just wondering how WordPress uses this and if it’s used at all and how?

How to Change CSS Colors from Custom Plugin Settings Page

I have a custom WordPress plugin with a variety of settings that I use across multiple websites. I also use a few of the same 3rd party plugins across all of those pages. I would like to be able to stylize them the same way, but with different colors. While I could add CSS to every site, it is difficult for some of our non-techy admins to go through the CSS and change the hex codes on the correct classes. I am trying to figure out the best way to do this. Here is what I’ve looked into so far:

Settings API: Setting default option via ‘get_option’ fails

All my options are stored in one array test_hs_options I have select list settings field ( test_hs_options[‘duration_months’] ) which stores the selected month (1-12). For this settings field, I would like to set a default option at 5. All my attempts at setting the default have failed. What am I missing? // Callback for displaying … Read more