Content type: Handbook

  • Roadmap

    WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ is released every 3-4 months, typically around the betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta…

  • Shell Friends

    As you advance upon your use of WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/, you’ll find that a little bit of command line knowledge can have a huge impact on your workflow. Here are some of…

  • Repository Management

    Package Names Package names for the official wp-cli GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done…

  • Tools

    The following is a list of projects that integrate with WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ in some form. For installable WP-CLI packages, please see the package index. Plugins The following table is an alphabetical…

  • Release Checklist

    There are two different release checklists available from within the wp-cli/wp-cli repository: Generate a 🚀 Regular Release Checklist – applies to major (2.x.x) and minor (x.1.x) releases. Generate a 🔧 Patch Release Checklist – applies to patch (x.x.1) releases only. As a first step for initiating a release process, the corresponding checklist should be generated…

  • Running Commands Remotely

    Using an SSHSSH Secure SHell – a protocol for securely connecting to a remote system in addition to or in place of a password. connection WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ accepts an –ssh=[<scheme>:][<user>@]<host>[:<port>][<path>] global…

  • WP_CLI::add_command()

    Register a command to WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/. Usage WP_CLI::add_command( $name, $callable, $args = [] ) $name (string) Name for the command (e.g. “post list” or “site empty”). $callable (callable|object|string|string[]) Command implementation as…

  • WP_CLI::add_hook()

    Schedule a callback to be executed at a certain point. Usage WP_CLI::add_hook( $when, $callback ) $when (string) Identifier for the hook. $callback (callable) Callback to execute when hook is called. @return (void) Notes HooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions…

  • Quick Start

    Congratulations! You’ve installed WP-CLI for the first time, and are ready to level-up your use of WordPress. This page contains a brief introduction to WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ with some example usage. Introduction…

  • WP_CLI::add_wp_hook()

    Add a callback to a WordPress action or filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such…