WC_Redsys_Profile
in package
WC_Admin_Profile Class.
Table of Contents
Methods
- __construct() : mixed
- Hook in tabs.
- add_tokens_fields() : mixed
- Add tokens fields to user profile
- check_send_link() : mixed
- Check if send link.
- create_hash() : mixed
- Create Hash
- create_link_user() : mixed
- Create link to send to user.
- notice_send_email() : mixed
- Send email to user.
- redsys_handle_requests_add_method() : mixed
- Handle new method.
Methods
__construct()
Hook in tabs.
public
__construct() : mixed
add_tokens_fields()
Add tokens fields to user profile
public
add_tokens_fields(WP_User $profileuser) : mixed
Parameters
- $profileuser : WP_User
-
User object.
check_send_link()
Check if send link.
public
check_send_link() : mixed
create_hash()
Create Hash
public
create_hash() : mixed
create_link_user()
Create link to send to user.
public
create_link_user(int $user, string $toke_type) : mixed
Parameters
- $user : int
-
user id.
- $toke_type : string
-
token type.
notice_send_email()
Send email to user.
public
notice_send_email() : mixed
redsys_handle_requests_add_method()
Handle new method.
public
static redsys_handle_requests_add_method(array<string|int, mixed> $wp) : mixed
Parameters
- $wp : array<string|int, mixed>
-
data from wp.