Title: WP_CLI\Utils\report_batch_operation_results()
Published: June 12, 2025
Last modified: July 21, 2026

---

# WP_CLI\Utils\report_batch_operation_results()

## In this article

 * [Usage](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/?output_format=md#usage)
 * [Related](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/?output_format=md#related)

[↑ Back to top](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/?output_format=md#wp--skip-link--target)

Report the results of the same operation against multiple resources.

---

## 󠀁[Usage](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/?output_format=md#usage)󠁿

    ```
    WP_CLI\Utils\report_batch_operation_results( $noun, $verb, $total, $successes, $failures, $skips = null )
    ```

 **$noun** (string) Resource being affected (e.g. pluginPlugin A plugin is a piece
of software containing a group of functions that can be added to a WordPress website.
They can extend functionality or add new features to your WordPress websites. WordPress
plugins are written in the PHP programming language and integrate seamlessly with
WordPress. These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party.).
 **$verb** (string) Type of action
happening to the noun (e.g. activate). **$total** (integer) Total number of resource
being affected. **$successes** (integer) Number of successful operations. **$failures**(
integer) Number of failures. **$skips** (null|integer) Optional. Number of skipped
operations. Default null (don’t show skips). **@return** (void)

_Internal APIAPI An API or Application Programming Interface is a software intermediary
that allows programs to interact with each other and share data in limited, clearly
defined ways. documentation is generated from the 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/](http://wp-cli.org/)
[https://make.wordpress.org/cli/](https://make.wordpress.org/cli/) codebase on every
release. To suggest improvements, please submit a pull request._

---

## 󠀁[Related](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/?output_format=md#related)󠁿

 * **[WP_CLI\Utils\launch_editor_for_input()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-utils-launch-editor-for-input/)**–
   Launch system’s $EDITOR for the user to edit some text.
 * **[WP_CLI\Utils\get_flag_value()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-utils-get-flag-value/)**–
   Return the flag value or, if it’s not set, the $default value.
 * **[WP_CLI\Utils\parse_str_to_argv()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-utils-parse-str-to-argv/)**–
   Parse a string of command line arguments into an $argv-esqe variable.
 * **[WP_CLI::confirm()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-confirm/)**–
   Ask for confirmation before running a destructive operation.
 * **[WP_CLI::read_value()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-read-value/)**–
   Read a value, from various formats.
 * **[WP_CLI::has_config()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-has-config/)**–
   Confirm that a global configuration parameter does exist.
 * **[WP_CLI::get_config()](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-get-config/)**–
   Get values of global configuration parameters.

First published

June 12, 2025

Last updated

July 21, 2026

Edit article

[ Improve it on GitHub: [article_title] ](https://github.com/wp-cli/handbook/edit/main/internal-api/wp-cli-utils-report-batch-operation-results.md)

Changelog

[ See list of changes: [article_title] ](https://github.com/wp-cli/handbook/commits/main/internal-api/wp-cli-utils-report-batch-operation-results.md)

[  Previous: WP_CLI\Utils\proc_open_compat()](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-proc-open-compat/)

[  Next: WP_CLI\Utils\trailingslashit()](https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-trailingslashit/)