Support » Plugin: StockPack – Stock photos from Unsplash, Adobe Stock and more » Add token to all multisite network subsites

  • Resolved davidom2513

    (@davidom2513)


    Hi,

    I would to buy a license for my websites on my multisite network, but I dont want to have to enter the token manually on every subsite.

    How can I automatically add the token to all subsites on the network?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ionut.calara

    (@ionutcalara)

    Hi @davidom2513, unfortunately there’s no way around that atm, but I will release support to provide a global token via a constant.

    I will update this ticket when I publish the update.

    Thank you,
    Ionut

    Thread Starter davidom2513

    (@davidom2513)

    Perfect, thank you. I’ll be following this, and will upgrade y license once this is available.

    Do you have any time estimation on when it might be available?

    Plugin Contributor ionut.calara

    (@ionutcalara)

    Hi @davidom2513 I am going to publish the update by the end of this week.

    Thank you,
    Ionut

    Plugin Contributor ionut.calara

    (@ionutcalara)

    Hi @davidom2513 the update has been pushed now, in version 3.2.7.

    You can add the following in your wp-config.php file.
    define( 'STOCKPACK_TOKEN', 'your-token-will-go-here' );

    This will allow sites to set their own tokens via the settings page, but if they don’t add one they will use the global token.

    I am closing this ticket, but feel free to reopen if you have any questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add token to all multisite network subsites’ is closed to new replies.