From 31ac6db10fba38199805c5d1dbfe2ee7e93e1079 Mon Sep 17 00:00:00 2001 From: Alexandre Faustino Date: Wed, 7 Jul 2021 10:41:40 +0100 Subject: [PATCH] New hook for product external options --- includes/admin/meta-boxes/views/html-product-data-general.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/admin/meta-boxes/views/html-product-data-general.php b/includes/admin/meta-boxes/views/html-product-data-general.php index a2526a03e19..b5ec0c2077e 100644 --- a/includes/admin/meta-boxes/views/html-product-data-general.php +++ b/includes/admin/meta-boxes/views/html-product-data-general.php @@ -31,6 +31,8 @@ defined( 'ABSPATH' ) || exit; 'description' => __( 'This text will be shown on the button linking to the external product.', 'woocommerce' ), ) ); + + do_action( 'woocommerce_product_options_external' ); ?>