Noptin_EDD::hook_show_checkbox_code( string $checkbox_position )
Hooks the display checkbox code.
Parameters Parameters
- $checkbox_position
(string) (Required) The checkbox position to display the checkbox.
Source Source
File: includes/integrations/class-noptin-edd.php
public function hook_show_checkbox_code( $checkbox_position ) { add_action( $checkbox_position, array( $this, 'output_checkbox' ), 1000 ); add_filter( 'edd_payment_meta', array( $this, 'save_edd_checkout_checkbox_value' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.6 | Introduced. |