wp-cli create sub-menu (e.g. Dropdown)
-
Hello,
i wonder how to use wp cli to create a Dropdown Menu. I can add PAges to a header using the following command:
wp menu item add-post Header <PageID>However, how do i add a Dropdown menu? In the UI of WordPress, this can be achieved pretty easy by dragging and dropping. How to do this with cli?
Thanks for your support!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp-cli create sub-menu (e.g. Dropdown)’ is closed to new replies.