• Resolved Roy Tanck

    (@roytanck)


    I’m planning to test Autoptimize on a client’s multisite install. This means I’d have to activate – and properly configure – the plugin on 200+ blogs. All of these use the same theme, so there’s little chance they’ll need per-blog adjustments to the settings.

    Since there’s no network admin options screen, I’m wondering whether I could just do something like in functions.php:

    if( certain option not set ){
    set all of the plugin’s 19 options with my default values;
    }

    Any thoughts?

    https://wordpress.org/plugins/autoptimize/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Frank Goossens

    (@futtta)

    if theme & plugins are the same on all blogs, this should indeed work Roy.

    kind regards,
    frank

    Thread Starter Roy Tanck

    (@roytanck)

    Thanks. I assume the best option to test for is “autoptimize_version”? Like you do in the plugin?

    Thread Starter Roy Tanck

    (@roytanck)

    Plugin Author Frank Goossens

    (@futtta)

    hmmmm … as soon as the plugin is activated, autoptimize_version will be set, so that might not work? Maybe simply check for an extra option autoptimize_roysconfigdone. If that option does not exist, set all options with your default values and set autoptimize_roysconfigdone to true?

    frank

    Thread Starter Roy Tanck

    (@roytanck)

    Yeah, in the gist I posted above, I used my own option to check. Much saver. Thanks.

    Plugin Author Frank Goossens

    (@futtta)

    Schitterend Roy 🙂

    frank

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Any way to active and configure across large network?’ is closed to new replies.