Home Forums WoodMart support forum Login/Register – Privacy Policy Position

Login/Register – Privacy Policy Position

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #129033

    dsl-ms
    Participant

    Could you tell me where I can change the layout of the register form so that the privacy policy text is below the the register button please? Please see screenshot

    Attachments:
    You must be logged in to view attached files.
    #129068

    Hello,

    You need to add this code to the functions.php of the child theme:

    function woodmart_change_registration_privacy_policy_text_position(){
    	remove_action( 'woocommerce_register_form', 'wc_registration_privacy_policy_text', 20 );
    	add_action( 'woocommerce_register_form_end', 'wc_registration_privacy_policy_text', 20 );
    }
    add_action( 'init', 'woodmart_change_registration_privacy_policy_text_position' );

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)