• Resolved YWard

    (@yward)


    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 );

    to

    $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)
  • Plugin Contributor Mohammed Saimon

    (@saimonh)

    @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)
  • You must be logged in to reply to this topic.