EA→WPResidence Sync Plugin v4.2.0
Custom WordPress plugin for syncing properties from EstateAssist to WPResidence. 2600+ lines of code, REST API, WP-CLI commands, cron sync.
About the Project
EA→WPResidence Sync Plugin v4.2.0 is a custom WordPress plugin with over 2,600 lines of PHP code, developed for agenzia.bg. The plugin automates the synchronization of property listings from EstateAssist CRM to WordPress with WPResidence theme — including prices, statuses, descriptions, image galleries, and taxonomy mapping (property type, area, agent). This is a standalone project that powers the entire property catalog of Agenzia.
Technologies
- PHP 8+ (WordPress Plugin API, OOP architecture)
- REST API client for EstateAssist integration
- WP-CLI custom commands (sync, purge, status, diagnostics)
- WordPress Cron for automatic periodic sync
- WordPress Transients API for caching
- Error handling with retry logic and exponential backoff
Features
- Automatic property import from EstateAssist CRM with complete data
- Bidirectional sync of statuses and prices in real time
- Image gallery processing and import with proper WPResidence meta structure
- WP-CLI commands:
ea-sync run,ea-sync purge,ea-sync status,ea-sync diagnose - Cron-based periodic sync at configured intervals
- Taxonomy mapping for property type, area, city, and responsible agent
- Detailed logging of every sync operation with timestamps
- Cache invalidation for WPResidence aggressive 24h cache
What Makes It Special
A fully custom solution that bridges two fundamentally different systems — EstateAssist CRM API and WordPress WPResidence theme. The plugin solves real production issues such as WPResidence cache invalidation (gallery and contact tabs not showing without manual save), correct agent assignment, and taxonomy mapping. Includes robust error handling, retry logic, and production-grade logging.