Properties

$tabs

$tabs : 

Type

$current_tab

$current_tab : string

Type

string

$register_fields

$register_fields : array

Type

array

$tab_output

$tab_output : array

Type

array

Methods

__construct()

__construct() 

Account constructor.

init_tabs()

init_tabs(  $args) 

Init AllTabs for user account

Parameters

$args

get_tabs()

get_tabs() : mixed|void

Returns

mixed|void

ultimatemember_account()

ultimatemember_account(array  $args = array()) : string

Account Shortcode

Parameters

array $args

Returns

string

account_page_restrict()

account_page_restrict() 

Restrict access to Account page

account_submit()

account_submit() 

Submit Account handler

predefined_fields_hook()

predefined_fields_hook(array  $predefined_fields) : array

Filter account fields

Parameters

array $predefined_fields

Returns

array

tab_link()

tab_link(integer  $id) : string

Get Tab Link

Parameters

integer $id

Returns

string

filter_fields_by_attrs()

filter_fields_by_attrs(  $fields,   $shortcode_args) : mixed

Parameters

$fields
$shortcode_args

Returns

mixed

account_secure_fields()

account_secure_fields(  $fields,   $id) : mixed|void

Parameters

$fields
$id

Returns

mixed|void

get_tab_fields()

get_tab_fields(integer  $id, array  $shortcode_args) : mixed|null|string|void

* Get Tab Output

Parameters

integer $id
array $shortcode_args

Returns

mixed|null|string|void

render_account_tab()

render_account_tab(  $tab_id,   $tab_data,   $args) 

Render Account Tab HTML

Parameters

$tab_id
$tab_data
$args

get_class()

get_class(string  $mode) : string

Add class based on shortcode

Parameters

string $mode

Returns

string