I have created a custom user role that named as Teacher.

                'read' => true,
                'edit_posts' => false,
                'delete_posts' => false,
                'publish_posts' => false,
                'upload_files' => true,

Everything work fine. But when creating a new teacher by admin the user registration email is not sent automatically. How can I enable that?

  • Have you checked the "Send the new user an email about their account" box during creation? Do other emails work fine? – Stefano Tombolini Feb 20 '18 at 8:08
  • @Stefano Tombolini, Yes, all emails work fine including user creation for other default WordPress user types. – ashanrupasinghe Feb 20 '18 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.