Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions

DefaultFreeExtensions::get_all()public staticWC 1.0

Get default specs.

Метод класса: DefaultFreeExtensions{}

No Hooks.

Return

Array. Default specs.

Usage

$result = DefaultFreeExtensions::get_all();

Code of DefaultFreeExtensions::get_all() WC 7.1.0

public static function get_all() {
	$bundles = [
		[
			'key'     => 'obw/basics',
			'title'   => __( 'Get the basics', 'woocommerce' ),
			'plugins' => [
				self::get_plugin( 'woocommerce-payments' ),
				self::get_plugin( 'woocommerce-services:shipping' ),
				self::get_plugin( 'woocommerce-services:tax' ),
				self::get_plugin( 'jetpack' ),
			],
		],
		[
			'key'     => 'obw/grow',
			'title'   => __( 'Grow your store', 'woocommerce' ),
			'plugins' => [
				self::get_plugin( 'mailpoet' ),
				self::get_plugin( 'google-listings-and-ads' ),
				self::get_plugin( 'facebook-for-woocommerce' ),
				self::get_plugin( 'tiktok-for-business:alt' ),
			],
		],
		[
			'key'     => 'task-list/reach',
			'title'   => __( 'Reach out to customers', 'woocommerce' ),
			'plugins' => [
				self::get_plugin( 'mailpoet:alt' ),
				self::get_plugin( 'mailchimp-for-woocommerce' ),
				self::get_plugin( 'creative-mail-by-constant-contact' ),
			],
		],
		[
			'key'     => 'task-list/grow',
			'title'   => __( 'Grow your store', 'woocommerce' ),
			'plugins' => [
				self::get_plugin( 'google-listings-and-ads:alt' ),
				self::get_plugin( 'tiktok-for-business' ),
				self::get_plugin( 'facebook-for-woocommerce:alt' ),
				self::get_plugin( 'pinterest-for-woocommerce' ),
			],
		],
	];

	$bundles = wp_json_encode( $bundles );
	return json_decode( $bundles );
}