Noptin_WooCommerce::add_woocommerce_class_to_checkbox( array $attributes )
Adds the woocommerce checkbox class to the subscription checkbox.
Parameters Parameters
- $attributes
(array) (Required) An array of checkbox attributes.
Return Return
(array)
Source Source
File: includes/integrations/class-noptin-woocommerce.php
public function add_woocommerce_class_to_checkbox( $attributes ) { $attributes['class'] = 'input-checkbox'; return $attributes; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.6 | Introduced. |