Setyenv · Docs
  • English
  • Español
  • 中文
  • 日本語
  • العربية
  • Deutsch
  • Français
  • हिन्दी
  • Bahasa Indonesia
  • Italiano
  • Nederlands
  • Português
  • Русский
  • Türkçe

WP-CLI surface

Available when WP_CLI is in play:

CommandPurpose
`wp pfm entity list [--format=tablecsv
wp pfm record list <entity> [--limit=50] [--filter="<EQL>"] [--format=…]Page of records.
wp pfm record create <entity> --data='{...}'Insert one record.
`wp pfm permission test <user-id> <entity> <read\create\
wp pfm action list [--entity=<slug>]List configured Actions.
wp pfm cache flushWipe pfm_ transients (anonymous-rate-limit counters, etc.).

Most useful in CI for verifying permission migrations against real users + entities before a release.