WooCommerce Code Reference

WC_Helper_Plugin_Info
in package

WC_Helper_Plugin_Info Class

Provides the "View Information" core modals with data for WooCommerce.com hosted extensions.

Table of Contents

load()  : mixed
Loads the class, runs on init.
plugins_api()  : object
Plugin information callback for Woo extensions.

Methods

plugins_api()

Plugin information callback for Woo extensions.

public static plugins_api(object $response, string $action, object $args) : object
Parameters
$response : object

The response core needs to display the modal.

$action : string

The requested plugins_api() action.

$args : object

Arguments passed to plugins_api().

Return values
objectAn updated $response.