• Resolved Ward


    Dokan breaks manual user creation for me unless I edit includes/class-registration.php line 68 and change:

     $nonce_check = apply_filters( 'dokan_register_nonce_check', true );


    $nonce_check = apply_filters( 'dokan_register_nonce_check', false);

    Is there is a function I can use in my theme’s function file to disable that instead of editing the plugin so it doesn’t get overridden in an update?

    Thank you,

Viewing 1 replies (of 1 total)
  • @yward Yes, all you need to do is place this code in your child theme’s functions.php file. Thanks

    add_filter( 'dokan_register_nonce_check', '__return_false' );

Viewing 1 replies (of 1 total)
  • The topic ‘Nonce Verification’ is closed to new replies.