Authenticate implements Registerable, Standard_Service
Authenticate Handler
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- authenticate_customer() : WP_User|WP_Error
- Deny login for pending customers.
- block_password_reset() : bool
- Block password reset for pending users
- register() : mixed
- {@inheritdoc}
Methods
authenticate_customer()
Deny login for pending customers.
public
authenticate_customer(WP_User|WP_Error $user) : WP_User|WP_Error
Just in case.
Parameters
- $user : WP_User|WP_Error
Tags
Return values
WP_User|WP_Error —$user
block_password_reset()
Block password reset for pending users
public
block_password_reset(bool $allow, int $user_id) : bool
Parameters
- $allow : bool
- $user_id : int
Tags
Return values
bool —$allow
register()
{@inheritdoc}
public
register() : mixed