Automattic\WooCommerce\Admin\API

Plugins::get_job_installation_status()publicWC 1.0

Returns a list of recently scheduled installation jobs.

{} It's a method of the class: Plugins{}

No Hooks.

Return

Array. Job.

Usage

$Plugins = new Plugins();
$Plugins->get_job_installation_status( $request );
$request(WP_REST_Request) (required)
Full details about the request.

Code of Plugins::get_job_installation_status() WC 6.6.1

public function get_job_installation_status( $request ) {
	$job_id = $request->get_param( 'job_id' );
	$jobs   = PluginsHelper::get_installation_status( $job_id );
	return reset( $jobs );
}