• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / ActionScheduler_WPCLI_Scheduler_command::print_total_actions() – Print WP CLI message about how many actions are about to be processed.

You appear to be a bot. Output may be restricted

Description

Print WP CLI message about how many actions are about to be processed.

Usage

ActionScheduler_WPCLI_Scheduler_command::print_total_actions( $total );

Parameters

$total
( int ) required –

Returns

void

Source

File name: woocommerce/packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php
Lines:

1 to 9 of 9
  protected function print_total_actions( $total ) {
    WP_CLI::log(
      sprintf(
        /* translators: %d refers to how many scheduled taks were found to run */
        _n( 'Found %d scheduled task', 'Found %d scheduled tasks', $total, 'woocommerce' ),
        number_format_i18n( $total )
      )
    );
  }
 

 View on GitHub View on Trac

Published: 8th February 2020 | Last updated: 6th April 2020

Primary Sidebar

Information

Function name: ActionScheduler_WPCLI_Scheduler_command::print_total_actions
Class ref: ActionScheduler_WPCLI_Scheduler_command
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php
File ref: packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php
Deprecated?: No
API Letters: A,C,P,S,W

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites