• Resolved sefr

    (@sefr)


    Hello

    I have a Customer Relationship Manager plugin inside WordPress and I would like to exclude Volunteer registrations (as WordPress users). I think that defining a specific role for registered volunteer is a good solution. How I can do this?

    Thanks for a reply in advance!

    Kindest Regards
    Sefr

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wired Impact

    (@wiredimpact)

    Thanks for reaching out @sefr. I’m not entirely sure what you’re asking, but each volunteer that signs up through the plugin is actually added to WordPress as a new user with the “Volunteer” role. You don’t have to do anything extra to make that happen.

    Does that answer what you’re looking for? Let me know what else I can do to help.

    Jonathan

    Thread Starter sefr

    (@sefr)

    Yes, it should be “Volunteer” as default role, but we have CRM system with Woocommerce payments that assign everyone automatically as “Donor”.

    How I can specife the role in functions.php? (for registered Volunteer). Like e.g. for woocommerce:

    /**
    * Replace ‘customer’ role (WooCommerce use by default) with your own one.
    **/
    add_filter(‘woocommerce_new_customer_data’, ‘wc_assign_custom_role’, 10, 1);

    function wc_assign_custom_role($args) {
    $args[‘role’] = ‘Donor’;

    return $args;
    }

    Plugin Author Wired Impact

    (@wiredimpact)

    Unfortunately, that’s something you would need to reach out to WooCommerce support or the donor management system’s support about. Providing recommendations on how to adjust other plugins is outside the scope of our free support.

    Good luck and let me know if you have any other questions.

    Jonathan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Defined role for a new Volunteer registration’ is closed to new replies.