FieldLock Sync Guard for ACF

설명

FieldLock Sync Guard for ACF detects ACF field-group JSON files that do not yet exist in the WordPress database or have a newer modified timestamp. While a sync is pending, it:

  • Shows an administrator notice with a link to ACF’s sync screen.
  • Lists each pending field group and explains why it needs syncing.
  • Disables the Update button on ACF field-group edit screens.
  • Shows an inline explanation and sync link on locked edit screens.
  • Blocks normal field-group saves on the server.

Private Local JSON files are ignored. Detection is cached briefly and runs only in the WordPress administrator. The plugin works with ACF and ACF PRO, and does not include ACF.

FieldLock Sync Guard for ACF is an independent compatibility plugin and is not affiliated with, endorsed by, or sponsored by the owners of ACF or ACF PRO.

The plugin makes no remote requests, collects no telemetry, and contains no upsells.

설치

  1. Upload the plugin directory to /wp-content/plugins/, or install the plugin ZIP through Plugins > Add New.
  2. Activate ACF or ACF PRO.
  3. Activate FieldLock Sync Guard for ACF.
  4. When a warning appears, follow its link and sync the pending field groups in ACF.

FAQ

What counts as a pending sync?

A non-private group_ Local JSON item is pending when its key does not exist as an acf-field-group post in the database, or when its modified timestamp is newer than the database post’s modified timestamp.

Can lock behaviour be customized?

Yes. Developers can use these filters:

  • fieldlock_sync_guard_for_acf_should_lock changes the final lock decision.
  • fieldlock_sync_guard_for_acf_sync_url changes the notice link.
  • fieldlock_sync_guard_for_acf_cache_lifetime changes the transient lifetime in seconds.
  • fieldlock_sync_guard_for_acf_capability changes the capability used for notices and locks.

Example:

add_filter( 'fieldlock_sync_guard_for_acf_cache_lifetime', function () { return 30; } );

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“FieldLock Sync Guard for ACF”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “FieldLock Sync Guard for ACF”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.1.0

  • List pending field groups and explain whether each group is missing or has newer Local JSON.
  • Add clearer lock messaging and a sync link to ACF field-group edit screens.

1.0.1

  • Confirmed compatibility with WordPress 7.1.

1.0.0

  • Initial release.