WC_Install::run_update_callback_end() – Triggered when a callback has ran.

You appear to be a bot. Output may be restricted

Description

Triggered when a callback has ran.

Usage

WC_Install::run_update_callback_end( $callback, $result );

Parameters

$callback
( string ) required – Callback name.
$result
( bool ) required – Return value from callback. Non-false need to run again.

Returns

void

Source

File name: woocommerce/includes/class-wc-install.php
Lines:

1 to 11 of 11
  protected static function run_update_callback_end( $callback, $result ) {
    if ( $result ) {
      WC()->queue()->add(
        'woocommerce_run_update_callback',
        array(
          'update_callback' => $callback,
        ),
        'woocommerce-db-updates'
      );
    }
  }
 

 View on GitHub View on Trac