A comprehensive technical overview of RatePress's modern architecture, from database design to React-based admin panels and extensible systems.
RatePress is built on the principle of "headless-first, WordPress-native". This means:
Flexible rating types (binary, bipolar, scale) instead of hardcoded like/dislike/star
All functionality is accessible via API for headless implementations
Single codebase with version-aware initialization for Free/Pro variants
Pluggable rendering for maximum flexibility and customization
| Table | Purpose | Key Features |
|---|---|---|
| wp_ratepress_ratings | Main ratings storage | Flexible categories, indexed queries, analytics-ready |
| wp_ratepress_analytics | Pro feature analytics | User behavior tracking, performance metrics |
| wp_options | Settings storage | Version-aware configuration, feature flags |
RatePress uses a category-based system where each rating type is defined by its category and value constraints.
Simple like/dislike system
Values: 0, 1Like/dislike with neutral option
Values: -1, 0, 1Continuous rating scale
Values: 0.0 - 1.0RatePress provides a comprehensive REST API for headless implementations and integrations.
| Endpoint | Method | Purpose |
|---|---|---|
| /wp-json/ratepress/v1/rate | POST | Submit a rating |
| /wp-json/ratepress/v1/stats/{id} | GET | Get rating statistics |
| /wp-json/ratepress/v1/templates | GET | List available templates |
| /wp-json/ratepress/v1/preview | POST | Get preview for block editor |
RatePress features a modern, React-powered admin interface built with contemporary web technologies.
RatePress features a pluggable template system for maximum flexibility and customization.
RatePress supports comprehensive internationalization through remote translation repositories.
| File Type | Purpose |
|---|---|
| .pot | Template file |
| .po | Source translations |
| .mo | Compiled binary |
| .json | React/JS translations |
RatePress uses a version-aware bootstrap system that initializes all components based on the plugin variant.
RatePress's modern architecture makes it easy to extend, customize, and integrate into any WordPress project.