wp db tables <table>

Lists the database tables

Arguments

NameDescription
tableList tables based on wildcard search, e.g. ‘wp_*_options’ or ‘wp_post?’

Options

NameDescription
--scope <scope>Can be all, global, ms_global, blog, or old tables. Defaults to all
--networkList all the tables in a multisite install
--all-tables-with-prefixList all tables that match the table prefix even if not registered on $wpdb. Overrides –network
--all-tablesList all tables in the database, regardless of the prefix, and even if not registered on $wpdb. Overrides –all-tables-with-prefix
--format <options>Render output in a particular format