跳转到主要内容

最近更新的页面

Writing Behat Tests for WP-CLI

WP-CLI 手册(英文原版) Guides

WP-CLI uses Behat for functional testing. This guide will help you understand how to write and ru...

由 cocobook-sync 更新于 1 个月前

Troubleshooting Guide

WP-CLI 手册(英文原版) Guides

Before you start to report a new issue on the GitHub repository, make sure to check your local in...

由 cocobook-sync 更新于 1 个月前

Sharing WP-CLI Packages

WP-CLI 手册(英文原版) Guides

By default, WP-CLI places installed packages in ~/.wp-cli/packages/, a hidden subdirectory of th...

由 cocobook-sync 更新于 1 个月前

Running Commands Remotely

WP-CLI 手册(英文原版) Guides

Using an SSH connection WP-CLI accepts an --ssh=[<scheme>:][<user>@]<host>[:<port>][<path>] glob...

由 cocobook-sync 更新于 1 个月前

Commands Cookbook

WP-CLI 手册(英文原版) Guides

Creating your own custom WP-CLI command can be easier than it looks — and you can use wp scaffol...

由 cocobook-sync 更新于 1 个月前

Guides

WP-CLI 手册(英文原版) Guides

Installing - Recommended and alternative installation mechanisms. Quick start - Where to begin af...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\write_csv()

WP-CLI 手册(英文原版) References

Write data as CSV to a given file. Usage WP_CLI\Utils\write_csv( $fd, $rows, $headers = [] ) $fd ...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\trailingslashit()

WP-CLI 手册(英文原版) References

Appends a trailing slash. Usage WP_CLI\Utils\trailingslashit( $string ) $string (string) What to ...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\proc_open_compat()

WP-CLI 手册(英文原版) References

Windows compatible proc_open(). Works around bug in PHP, and also deals with *nix-like ENV_VAR=...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\normalize_path()

WP-CLI 手册(英文原版) References

Normalize a filesystem path. Usage WP_CLI\Utils\normalize_path( $path ) $path (string) Path to no...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\make_temp_file()

WP-CLI 手册(英文原版) References

Create a unique temporary file safely without following symlinks. Usage WP_CLI\Utils\make_temp_fi...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\make_temp_dir()

WP-CLI 手册(英文原版) References

Create a unique temporary directory safely without following symlinks. Usage WP_CLI\Utils\make_te...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\is_stream()

WP-CLI 手册(英文原版) References

Check if a path is a PHP stream URL. Usage WP_CLI\Utils\is_stream( $path ) $path (string) The res...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\http_request()

WP-CLI 手册(英文原版) References

Make a HTTP request to a remote URL. Usage WP_CLI\Utils\http_request( $method, $url, $data = null...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\get_temp_dir()

WP-CLI 手册(英文原版) References

Get the system's temp directory. Warns user if it isn't writable. Usage WP_CLI\Utils\get_temp_dir...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\get_php_binary()

WP-CLI 手册(英文原版) References

Get the path to the PHP binary used when executing WP-CLI. Usage WP_CLI\Utils\get_php_binary() @r...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\get_home_dir()

WP-CLI 手册(英文原版) References

Get the home directory. Usage WP_CLI\Utils\get_home_dir() @return (string) Internal API document...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\get_flag_value()

WP-CLI 手册(英文原版) References

Return the flag value or, if it's not set, the $default value. Usage WP_CLI\Utils\get_flag_value(...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\format_items()

WP-CLI 手册(英文原版) References

Render a collection of items as an ASCII table, JSON, CSV, YAML, list of ids, or count. Usage WP_...

由 cocobook-sync 更新于 1 个月前

WP_CLI\Utils\esc_like()

WP-CLI 手册(英文原版) References

First half of escaping for LIKE special characters % and _ before preparing for MySQL. Usage WP_C...

由 cocobook-sync 更新于 1 个月前