< 1 min read
Constants you can define in wp-config.php or a mu-plugin to override default behavior.
Pro license constants #
| Constant | Purpose |
|---|---|
BOOKARO_PRO_LICENSE_API_URL | License API base URL. Default: https://mybookaro.com/?bookaro_license_api=1. |
BOOKARO_PRO_LICENSE_PUBLIC_KEY | RSA public key in PEM format for signature verification. |
BOOKARO_PRO_LICENSE_PUBLIC_KEY_B64 | Same key, Base64-encoded (alternative when escaping PEM is tricky). |
BOOKARO_PRO_LICENSE_ITEM_TOKEN | License item identifier (server-issued opaque token). |
BOOKARO_PRO_LICENSE_ITEM_ID | Numeric license item ID (alternative). |
BOOKARO_PRO_LICENSE_ITEM_NAME | Display name of the licensed product. |
BOOKARO_PRO_LICENSE_DEV_MODE | When true + WP_DEBUG=true, bypass license checks for local dev. |
WordPress integration #
DISABLE_WP_CRON— disable WP-Cron when running real cron.WP_DEBUG— enables verbose logging in MyBookaro.WP_DEBUG_LOG— write logs towp-content/debug.log.
Performance / security #
- Add
SECURE_AUTH_COOKIE+ force HTTPS for cookies. - Set
WP_AUTO_UPDATE_COREper your update policy.
Filter equivalents #
Most constants have filter equivalents (e.g. bookaro_pro_license_api_url) so plugin authors can override without modifying wp-config.php.