Wp sidebar (WP-CLI)
Versie door Jeroen Strompf (overleg | bijdragen) op 27 aug 2022 om 17:03
wp sidebar lists registered sidebars. It has only one subcommand. You might need this command when working with widgets
$wp help sidebar NAME wp sidebar DESCRIPTION Lists registered sidebars. SYNOPSIS wp sidebar <command> SUBCOMMANDS list Lists registered sidebars. A [sidebar][1] is any widgetized area of your theme. --- [1] https://developer.wordpress.org/themes/functionality/sidebars/ EXAMPLES # List sidebars $ wp sidebar list --fields=name,id --format=csv name,id "Widget Area",sidebar-1 "Inactive Widgets",wp_inactive_widgets