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

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.