Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Settings & configuration

WP-PFManagement settings screen

WP-PFManagement configuration options. Most settings are managed through WordPress options and filters.

Core options

OptionDefaultDescription
pfm_event_log_max_rows50,000Max rows in the event log. Pruned daily by cron.
pfm_extra_localesnoneAdditional locale codes beyond the 4 defaults (es_ES, en_US, zh_CN, ja)
pfm_db_versionautoTracks schema version for upgrade detection
pfm_capabilities_versionautoTracks capabilities version for role re-granting

Per-entity options

OptionDescription
pfm_notify_email_to_{slug}Email recipients for record creation notifications
pfm_notify_email_subject_{slug}Custom subject for notification emails
pfm_slug_field_{slug}Which TEXT field provides the pretty permalink slug

Email notifications

When pfm_notify_email_to_{entity} is set, an email is sent on every pfm.record.created event. Filter hooks:

  • pfm_notify_email_subject — modify the subject
  • pfm_notify_email_body — modify the body (plain text, skips sys_* columns)

I18N / locales

The platform supports 4 built-in locales plus custom extras:

  • Built-in: es_ES, en_US, zh_CN, ja
  • Custom: Added via PUT /pfm/v1/locales or the pfm_extra_locales option
  • Per-row translations via labels_json column on entities, fields, roles, groups, actions, modules, and applications

Security defaults

Every REST response includes these security headers:

  • X-Request-ID — UUIDv4 for request correlation
  • Server-Timingpfm;dur=<ms> for performance monitoring
  • X-Frame-Options: DENY
  • X-Content-Type-Options: nosniff
  • Referrer-Policy: same-origin
  • Admin endpoints rate-limited to 240 requests per IP/user per minute