PHPackages                             isotopsweden/wp-syncs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. isotopsweden/wp-syncs

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

isotopsweden/wp-syncs
=====================

Syncs synchronizes posts and terms between multisites

v2.0.0(4y ago)78731[2 PRs](https://github.com/alsterverse/wp-syncs/pulls)MITPHPPHP ^7

Since Dec 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alsterverse/wp-syncs)[ Packagist](https://packagist.org/packages/isotopsweden/wp-syncs)[ Docs](https://github.com/isotopsweden/wp-syncs)[ RSS](/packages/isotopsweden-wp-syncs/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

Syncs [![Build Status](https://camo.githubusercontent.com/244c76f7add30cfeb1d793722e915c7cf61f68df289ccdcaf08499b94636d793/68747470733a2f2f7472617669732d63692e6f72672f69736f746f7073776564656e2f77702d73796e63732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/isotopsweden/wp-syncs) [![codecov](https://camo.githubusercontent.com/8fb87f6452f853c714b823b6d9843c56f69e320cba08793f2e784b96ac756278/68747470733a2f2f636f6465636f762e696f2f67682f69736f746f7073776564656e2f77702d73796e63732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/isotopsweden/wp-syncs)
======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#syncs--)

> Requires PHP 7.0 and WordPress 4.6

Syncs synchronizes attachments, posts and terms between multisites

Installation
------------

[](#installation)

```
composer require isotopsweden/wp-syncs

```

Usage
-----

[](#usage)

Example configuration for post types:

```
// With `register_post_type`
register_post_type( 'book', [
  'syncs' => true
] );

// With the filter.
add_filter( 'syncs_post_types', function ( $post_types ) {
  return ['page', 'post', 'book'];
} );
```

Example configuration for taxonomies:

```
// With `register_taxonomy`
register_taxonomy( 'group', 'post', [
  'syncs' => true
] );

// With the filter.
add_filter( 'syncs_taxonomies', function ( $taxonomies ) {
  return ['tag', 'category', 'group'];
} );
```

How the sync works
------------------

[](#how-the-sync-works)

### Created data

[](#created-data)

When a new post, term or attachment is created on a multisite it will be created on the other multisites and all obeject ids will be linked with a global sync id that is stored in the `syncs` table like this:

idsync\_idobject\_idobject\_typesite\_id1115 post 12132 post 23190 post 3All sync ids are stored as metadata on objects just because of `WP_Query`, when you read `sync_id` with `get_metadata` it actual reads from the `syncs` table.

### Updated data

[](#updated-data)

When a post, term or attachment is updated on a multisite the master it's the multisite where the user is updating. The other objects on other multisites will be removed and created again with the same global sync id but with new object ids. That's why you can't use object id as a id, instead you have to use `sync_id` value. It can be access via `get_metadata` or `syncs()->get_sync_id( $object_id, $object_type, [$site_id = 0] )`

### Deleted data

[](#deleted-data)

When a post, term or attachment is deleted it will be deleted on all multisites and the `sync_id` will be deleted.

### WP CLI

[](#wp-cli)

You can run `wp syncs sync` to synchronizes all posts from one site to all other sites.

License
-------

[](#license)

MIT © Isotop

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 73.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~712 days

Total

3

Last Release

1702d ago

Major Versions

v1.0.1 → v2.0.02021-11-01

PHP version history (2 changes)v1.0.0PHP ^7.0

v2.0.0PHP ^7

### Community

Maintainers

![](https://www.gravatar.com/avatar/aacdbaebed26ea1ccdb7e37e2bfd2a572350e1d781d1c0b8830d444adb86104e?d=identicon)[frozzare](/maintainers/frozzare)

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (47 commits)")[![chrillep](https://avatars.githubusercontent.com/u/1267931?v=4)](https://github.com/chrillep "chrillep (8 commits)")[![karlmork](https://avatars.githubusercontent.com/u/1515688?v=4)](https://github.com/karlmork "karlmork (8 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

multisitesynchronizationwordpresswordpress-pluginpluginwordpressmultisiteposttermsyncs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/isotopsweden-wp-syncs/health.svg)

```
[![Health](https://phpackages.com/badges/isotopsweden-wp-syncs/health.svg)](https://phpackages.com/packages/isotopsweden-wp-syncs)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13465.7k](/packages/webdevstudios-cmb2-attached-posts)[bueltge/wordpress-multisite-enhancements

Enhance Multisite for Network Admins with different topics

1123.6k](/packages/bueltge-wordpress-multisite-enhancements)[alexis-magina/cmb2-field-post-search-ajax

CMB2 field type to attach posts to each others. Search with Ajax.

3913.5k1](/packages/alexis-magina-cmb2-field-post-search-ajax)[devaloka/network-wp-query

A WordPress plugin that provides Network-wide WP Query for Multisite environment

161.3k](/packages/devaloka-network-wp-query)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
