A command line interface for WordPress

Commands » cli » param-dump

wp cli param-dump - Dump the list of global parameters, as JSON or in var_export format.

Quick links: Github issues


Display current values also.
Render output in a particular format. -– default: json options: - var_export - json -–


# Dump the list of global parameters.
$ wp cli param-dump --format=var_export
array (
  'path' =&gt;
  array (
    'runtime' =&gt; '=&lt;path&gt;',
    'file' =&gt; '&lt;path&gt;',
    'synopsis' =&gt; '',
    'default' =&gt; NULL,
    'multiple' =&gt; false,
    'desc' =&gt; 'Path to the WordPress files.',
  'url' =&gt;
  array (