Noptin_EDD::before_checkbox_wrapper()
Prints the checkbox wrapper.
Contents
Source Source
File: includes/integrations/class-noptin-edd.php
function before_checkbox_wrapper() { $style = ''; $checkbox_position = $this->get_checkbox_position(); if ( 'edd_purchase_form_after_email' !== $checkbox_position && 'edd_purchase_form_user_info_fields' !== $checkbox_position ) { $style = 'style="padding-left: 0;"'; } echo "<p id='noptin_edd_optin_checkbox' $style>"; }
Expand full source code Collapse full source code View on GitHub