Reply 344250 to: How can I remove register form page header

Avatar: Rose Tyler
Rose Tyler
Support staff
January 17, 2023 at 18:03

Hello,

Please, add the next custom code to your xstore-child/functions.php

add_action('wp', function() {
    if ( !is_account_page() ) {
        if ( !get_query_var('et_is-loggedin', false)) {
            set_query_var( 'et_account-registration', false );
        }
    }
}, 22);

Kind Regards,
8theme team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.