fixed variable typo
This commit is contained in:
parent
9c9b494d0f
commit
7de9f02574
|
@ -121,7 +121,7 @@ class WC_Meta_Box_Coupon_Data {
|
||||||
|
|
||||||
foreach ( $product_ids as $product_id ) {
|
foreach ( $product_ids as $product_id ) {
|
||||||
$product = wc_get_product( $product_id );
|
$product = wc_get_product( $product_id );
|
||||||
if( is_object( product ) ) {
|
if( is_object( $product ) ) {
|
||||||
$json_ids[ $product_id ] = wp_kses_post( $product->get_formatted_name() );
|
$json_ids[ $product_id ] = wp_kses_post( $product->get_formatted_name() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue