Skip to content

Offcanvas user login spins forever #1049

Answered by Axos11
cahoskins asked this question in Q&A
Discussion options

You must be logged in to vote

@cahoskins

i did something similar with the ajax-cart before the changes were implemented into bootscore. basically you have to remove the action in bootscore/woocommerce/wc-functions.php and then hook your own function instead of it. That issue should be addressed with the next update anyways as my PR was already confirmed

function bootscore_register_ajax_login_file() {
  if (apply_filters('bootscore/wc_ajax_login', true)) {
    require_once('inc/wc-ajax-login.php');
  }
}
add_action('after_setup_theme', 'bootscore_register_ajax_login_file');

Just look out. you have to use a remove_action in that case and look out that your removal hook runs after the registration but before the executio…

Replies: 9 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@cahoskins
Comment options

@crftwrk
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@cahoskins
Comment options

@crftwrk
Comment options

@cahoskins
Comment options

@cahoskins
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Axos11
Comment options

Answer selected by cahoskins
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants