apply_filters ( 'jetpack_sync_capabilities_whitelist', array The )

Filter the list of capabilities that we care about

Source file: packages/sync/src/class-defaults.php

View in GitHub

Parameters

The

(array) The default list of capabilities.


Changelog

Since: Jetpack 5.5.0


Notes

Leave a Reply to Matthew Denton Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Comments

  1. miriamtrevizonovitek says:

    how can i block some sync, like users data or change passwords from worpress.com to my hosted site

    • Matthew Denton says:

      Hi:

      The full data that is synced to WP.com from your Jetpack powered site can be found at: https://jetpack.com/support/what-data-does-jetpack-sync/. Passwords by default are not synced: user IDs, usernames, email addresses, roles, and capabilities of registered users.

      If you would like to block some of these fields from being sent to WP.com you can tie into the ‘jetpack_sync_before_enqueue_jetpack_sync_add_user’, ‘jetpack_sync_before_enqueue_jetpack_sync_register_user’ and ‘jetpack_sync_before_enqueue_jetpack_sync_save_user’ filters to unset email address, etc. Please note that removal of some of this data will lead to unexpected behavior of Related Posts, Search, Publicize and other functionality.