AccountShortcode extends AbstractShortcode
in package

Table of Contents

$tab  : mixed
$name  : mixed
$errors  : mixed
__construct()  : mixed
addActions()  : mixed
generateShortcode()  : string
getName()  : mixed
onInit()  : mixed
redirectAfterLogout()  : mixed
redirectOnFailedLogin()  : mixed
register()  : mixed
render()  : mixed
buildOrderQuery()  : array<string|int, mixed>
renderBookings()  : mixed
renderDashboard()  : mixed
renderDetails()  : mixed
renderErrors()  : mixed
renderLogin()  : mixed
renderMenu()  : mixed
successMessage()  : mixed
updatePassword()  : mixed
checkPassword()  : mixed

Properties

$tab

public mixed $tab

$name

protected mixed $name = 'mphb_account'

$errors

private mixed $errors

Methods

__construct()

public __construct() : mixed
Return values
mixed

addActions()

public addActions() : mixed
Return values
mixed

generateShortcode()

public generateShortcode([array<string|int, mixed> $attrs = array() ]) : string
Parameters
$attrs : array<string|int, mixed> = array()

Attributes of shortcode

Return values
string

getName()

public getName() : mixed
Return values
mixed

onInit()

public onInit() : mixed
Return values
mixed

redirectAfterLogout()

public redirectAfterLogout() : mixed
Tags
since
4.2.1
Return values
mixed

redirectOnFailedLogin()

public redirectOnFailedLogin() : mixed
Tags
since
4.2.1
Return values
mixed

register()

public register() : mixed
Return values
mixed

render()

public render(mixed $atts, mixed $content, mixed $shortcodeName) : mixed
Parameters
$atts : mixed
$content : mixed
$shortcodeName : mixed
Return values
mixed

buildOrderQuery()

protected buildOrderQuery(array<string|int, mixed> $atts, array<string|int, mixed> $defaults) : array<string|int, mixed>
Parameters
$atts : array<string|int, mixed>

Shortcode attributes.

$defaults : array<string|int, mixed>

Default values of "orderby" and "order" attributes.

Tags
see
https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters
Return values
array<string|int, mixed>

renderBookings()

protected renderBookings(mixed $customer) : mixed
Parameters
$customer : mixed
Return values
mixed

renderDashboard()

protected renderDashboard(mixed $user) : mixed
Parameters
$user : mixed
Return values
mixed

renderDetails()

protected renderDetails(mixed $customer) : mixed
Parameters
$customer : mixed
Return values
mixed

renderErrors()

protected renderErrors() : mixed
Return values
mixed

renderLogin()

protected renderLogin(mixed $userId) : mixed
Parameters
$userId : mixed
Return values
mixed

renderMenu()

protected renderMenu(mixed $userId) : mixed
Parameters
$userId : mixed
Return values
mixed

successMessage()

protected successMessage() : mixed
Return values
mixed

updatePassword()

protected updatePassword() : mixed
Return values
mixed

checkPassword()

private checkPassword(mixed $plainPassword, mixed $userId) : mixed
Parameters
$plainPassword : mixed
$userId : mixed
Return values
mixed

Search results