| @@ -14,19 +14,19 @@ | ||
| 14 | 14 | * |
| 15 | 15 | * @return void |
| 16 | 16 | */ |
| 17 | 17 | public function init() { |
| 18 | - add_action( 'woocommerce_single_product_summary', [ $this, 'variable_products_webp_compat' ] ); | |
| 18 | + add_action( 'woocommerce_single_product_summary', [ $this, 'variable_products_nextgen_compat' ] ); | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | - * Add Variable Products Webp Compatibility. | |
| 22 | + * Add Variable Products Next-gen images Compatibility. | |
| 23 | 23 | * |
| 24 | 24 | * @since 1.10.0 |
| 25 | 25 | * |
| 26 | 26 | * @return void |
| 27 | 27 | */ |
| 28 | - public function variable_products_webp_compat() { | |
| 28 | + public function variable_products_nextgen_compat() { | |
| 29 | 29 | global $product; |
| 30 | 30 | |
| 31 | 31 | if ( ! isset( $product ) || ! $product->is_type( 'variable' ) ) { |
| 32 | 32 | return; |