Directory / plugin

Guest User

v2.0.0 · by Palasthotel GmbH

Label users as guests: they can be credited as post authors, but cannot sign in.

About this plugin

Guest authors, former staff or contributors who only send in their texts need a user account to appear as the author of a post – but they do not need to be able to sign in.

Guest User adds a checkbox “Is guest” to the user edit screen and to the “Add New User” screen. An account marked as guest

  • cannot sign in with its password, neither at the login form nor through XML-RPC,
  • is signed out of every session it still had open when it was marked,
  • cannot use application passwords or any other way of authenticating against the REST API.

The account itself, its posts and its author archive stay as they are. Uncheck the box and the account can sign in again.

Developers can check an account with guest_user_is_guest( $user_id ).

Plugin tags