Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'end_wcfm_membership_registration_form', function() {
- $terms = [
- 'Confirm I am a Canadian Seller located in Canada and final product made in Canada',
- 'Confirm I have read and understood the Seller Agreement',
- 'Confirm that I have read and understood the Crafted Canadian Inc. Terms & Conditions',
- 'Confirm I have read and understood the Privacy Policy',
- 'Confirm that products posted on CraftedCanadian.ca are Made/Finished in Canada',
- ];
- foreach ( $terms as $key => $term ) {
- echo '<input type="checkbox" id="wcfm-condition-'.$key.'" name="wcfmvm_static_infos[terms-0'.$key.']" class="wcfm-checkbox wcfm-registration-terms" value="Agree" data-required="1" data-required_message="' . esc_html__( 'Required fields are missing.' ) . '">';
- echo '<p class="terms_title wcfm_title"><strong><span class="required">*</span>' . esc_html( $term ) . '</strong></p>';
- echo '<br/>';
- }
- });
Advertisement
Comments
-
- Corresponding CSS - https://pastebin.com/zbg2ZAPP
Add Comment
Please, Sign In to add comment
Advertisement