Add Tiktok to OBW grow list (#34953)
This commit is contained in:
parent
c87f5ce79b
commit
c67a0fbe27
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: add
|
||||
|
||||
Add tiktok plugin to plugins name mapping
|
|
@ -59,4 +59,5 @@ export const pluginNames = {
|
|||
'Pinterest for WooCommerce',
|
||||
'woocommerce'
|
||||
),
|
||||
'tiktok-for-business:alt': __( 'TikTok for WooCommerce', 'woocommerce' ),
|
||||
};
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Add Tiktok to free grow extensions list
|
|
@ -398,6 +398,8 @@ class OnboardingProfile extends \WC_REST_Data_Controller {
|
|||
'facebook-for-woocommerce',
|
||||
'google-listings-and-ads',
|
||||
'mailpoet',
|
||||
'tiktok-for-business',
|
||||
'tiktok-for-business:alt'
|
||||
),
|
||||
'type' => 'string',
|
||||
),
|
||||
|
|
|
@ -39,6 +39,7 @@ class DefaultFreeExtensions {
|
|||
self::get_plugin( 'mailpoet' ),
|
||||
self::get_plugin( 'google-listings-and-ads' ),
|
||||
self::get_plugin( 'facebook-for-woocommerce' ),
|
||||
self::get_plugin( 'tiktok-for-business:alt' ),
|
||||
],
|
||||
],
|
||||
[
|
||||
|
@ -669,6 +670,18 @@ class DefaultFreeExtensions {
|
|||
],
|
||||
'is_built_by_wc' => false,
|
||||
],
|
||||
'tiktok-for-business:alt' => [
|
||||
'name' => __( 'TikTok for WooCommerce', 'woocommerce' ),
|
||||
'image_url' => plugins_url( '/assets/images/onboarding/tiktok.svg', WC_PLUGIN_FILE ),
|
||||
'description' => sprintf(
|
||||
/* translators: 1: opening product link tag. 2: closing link tag */
|
||||
__( 'Create ad campaigns and reach one billion global users with %1$sTikTok for WooCommerce%2$s', 'woocommerce' ),
|
||||
'<a href="https://woocommerce.com/products/tiktok-for-woocommerce" target="_blank">',
|
||||
'</a>'
|
||||
),
|
||||
'manage_url' => 'admin.php?page=tiktok',
|
||||
'is_built_by_wc' => false,
|
||||
],
|
||||
);
|
||||
|
||||
$plugin = $plugins[ $slug ];
|
||||
|
|
Loading…
Reference in New Issue