Skip to content
Custom fields for WordPress that are quick to build and quick to load. Get Pro
Docs

WP-CLI

list

1 minute to read Updated 1 week ago

Terminal
wp ugly-fields list

Prints a table of every group.

Column Meaning
key The key of the group (group_hero)
title Its title
source Where it lives: database, file, or both
synced For a group in both: yes if the database matches its file, NO if they differ. - otherwise
fields How many fields it has
active yes or no
+------------+-----------+----------+--------+--------+--------+
| key        | title     | source   | synced | fields | active |
+------------+-----------+----------+--------+--------+--------+
| group_hero | Hero      | both     | yes    | 6      | yes    |
| group_team | Team      | both     | NO     | 4      | yes    |
| group_faq  | FAQ       | file     | -      | 3      | yes    |
+------------+-----------+----------+--------+--------+--------+

Use it before a deploy: every NO is a group sync is going to change.

Did this article answer your question?