Hi,
Links to WordPress Documentation is broken in your plugin description https://docs.billflow.io/subscription-portal/integrations/wordpress
as well as link to the Plugin homepage: https://www.wpexplorer.com/servicebot/
]]>Hey there,
I’m wondering if you could insert some actions on public/class-servicebot-public.php:
function servicebot_ajax_create_user() {
.......................
//On success
if ( ! is_wp_error( $user_id ) ) {
// Some action
}else{
// Some other action
}
.......................
}
By doing this, it will be easier for a developer to know that a user was inserted from your plugin and not from anywhere else.
I would also be nice if some other meta data would be passed as well (for example the subscription plan that the client just paid).
Also, this 'role' => 'subscriber'
, I’m sure that can be improved. Maybe somebody has a custom role (and trying to automate the sign up process).
Best wishes,
Alex