wp config list <filter>

Lists variables, constants, and file includes defined in wp-config.php file

Arguments

NameDescription
filterName or partial name to filter the list by

Options

NameDescription
--fields <fields>Limit the output to specific fields. Defaults to all fields
--format <options>Render output in a particular format
--strictEnforce strict matching when a filter is provided