Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

7.2 Custom Commands

The most exciting thing about WP-CLI is how easy it is to add your own commands just by extending the WP_CLI_Command class. I’ll show you how to create a command, require and parse arguments, and use the WP_CLI API to create your own CLI tools for WordPress.