Skip to content

Commit

Permalink
Product addons price label filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Dec 16, 2024
1 parent c6c3eba commit 2d631d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function shopmarks( $post_id ) {
foreach ( wc_gzd_get_single_product_shopmarks() as $shopmark ) {
$callback = $shopmark->get_callback();

if ( function_exists( $callback ) && $shopmark->is_enabled() ) {
if ( function_exists( $callback ) && $shopmark->is_enabled() && apply_filters( "woocommerce_gzd_product_addons_embed_price_label", true, $shopmark->get_type(), $shopmark, $product ) ) {
call_user_func( $callback );
}
}
Expand Down

0 comments on commit 2d631d8

Please sign in to comment.