Home Forums General Issues Sync values (not fields) on multisite


Sync values (not fields) on multisite

  • I have a multisite instance where each subsite is a different language (same theme).

    I have an options page that has a repeater field which holds the available languages which in turn are used for specific theme functions.

    The values of these fields should remain identical for all subsites. But right now I have to update each subsite when I want to make changes in this repeater (change the values, not field settings). For example when a new subsite is made in another language, I have to update each subsite and add that language to the repeater.

    I’m looking for a way to have the subsites ‘inherit’ the values from the parent site. Or some other way to keep these values synced between all subsites.

    I would appreciate any suggestions.

  • Solved using:

    $repeater = get_field('my_repeater', 'options'),
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.