WP-CLI

A command line interface for WordPress

Commands » sidebar

wp sidebar - Manage sidebars.

Quick links: Github issues


EXAMPLES

# List sidebars
$ wp sidebar list --fields=name,id --format=csv
name,id
"Widget Area",sidebar-1
"Inactive Widgets",wp_inactive_widgets

SUBCOMMANDS

Name Description
list List registered sidebars.