User authentication process

Support General User authentication process

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46990
    Jayron CastroJayron Castro
    Participant

    Is there the possibility of using the metabox to create a field for the user, so as not to allow the user to login?

    Explaining the proposed scenario, I need to create a Boolean field and if it is true, the user will not be able to log in to the website and if the field is false, exactly the opposite will occur.

    Is this scenario possible to do with metabox? If this is not possible and if you can suggest a procedure, I would be grateful for your attention.

    #46999
    PeterPeter
    Moderator

    Hello Jayron,

    Please notice that, Meta Box and extension plugin help you create the user meta and save the value to the database. If you want to use that value to create some conditions or process something, you will need to create some custom code to do that.
    Meta Box doesn't have a built-in feature to support any specific case.

    If you want to use a third-party plugin, please refer to this one https://wordpress.org/plugins/disable-user-login/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.