Automattic\WooCommerce\Admin\API

MarketingOverview::get_installed_plugins()publicWC 1.0

Return installed marketing extensions data.

Method of the class: MarketingOverview{}

No Hooks.

Return

\WP_Error|\WP_REST_Response.

Usage

$MarketingOverview = new MarketingOverview();
$MarketingOverview->get_installed_plugins( $request );
$request(\WP_REST_Request) (required)
Request data.

MarketingOverview::get_installed_plugins() code WC 7.3.0

public function get_installed_plugins( $request ) {
	return rest_ensure_response( InstalledExtensions::get_data() );
}