Method: Generates a unique slug for a given product. We do this so that we can override the behavior of wp_unique_post_slug(). The normal slug generation will run single select queries on every non-unique slug, resulting in very bad performance.
Source: includes/admin/class-wc-admin-duplicate-product.php:255
Method: Duplicate a product action.
Source: includes/admin/class-wc-admin-duplicate-product.php:97
Method: Function to create the duplicate of the product.
Source: includes/admin/class-wc-admin-duplicate-product.php:130
Filter Hook: Filter to allow us to exclude meta keys from product duplication.
Source: includes/admin/class-wc-admin-duplicate-product.php:139
Action Hook: This action can be used to modify the object further before it is created – it will be passed by reference.
Source: includes/admin/class-wc-admin-duplicate-product.php:208
Method: Get a product from the database to duplicate.
Source: includes/admin/class-wc-admin-duplicate-product.php:228
Source: includes/admin/class-wc-admin-duplicate-product.php:20
Source: includes/admin/class-wc-admin-duplicate-product.php:25
Method: Show the “Duplicate” link in admin products list.
Source: includes/admin/class-wc-admin-duplicate-product.php:38
Method: Show the dupe product link in admin.
Source: includes/admin/class-wc-admin-duplicate-product.php:73