WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Plugins::get_connect_schema() public WC 1.0

Get the schema, conforming to JSON Schema.

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

No Hooks.

Return

Array. Nothing.

Usage

$Plugins = new Plugins();
$Plugins->get_connect_schema();

Code of Plugins::get_connect_schema() WC 5.3.0

<?php
public function get_connect_schema() {
	$schema = $this->get_item_schema();
	unset( $schema['properties']['status'] );
	$schema['properties']['connectAction'] = array(
		'description' => __( 'Action that should be completed to connect Jetpack.', 'woocommerce' ),
		'type'        => 'string',
		'context'     => array( 'view', 'edit' ),
		'readonly'    => true,
	);
	return $schema;
}