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
load()
Loads the class, runs on init.
public
static load() : mixed
Return values
mixed —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().