Eeco_WCO_Account
in package
Table of Contents
- $base_url : mixed
- my account url
- __construct() : mixed
- add_account_assets() : mixed
- add assets for account page
- eeco_wco_flush_rewrite_rules() : mixed
- eeco_wco_my_account_endpoints() : mixed
- eeco_wco_my_account_menu_items() : array<string|int, mixed>
- Edit my account menu items
- eeco_wco_offers_template() : void
- Get order listing templates for my account page
- eeco_wco_query_vars() : array<string|int, mixed>
- Add new query vars
Properties
$base_url
my account url
private
mixed
$base_url
=
ull
Methods
__construct()
public
__construct() : mixed
Return values
mixed —add_account_assets()
add assets for account page
public
add_account_assets() : mixed
Return values
mixed —eeco_wco_flush_rewrite_rules()
public
eeco_wco_flush_rewrite_rules() : mixed
Return values
mixed —eeco_wco_my_account_endpoints()
public
eeco_wco_my_account_endpoints() : mixed
Return values
mixed —eeco_wco_my_account_menu_items()
Edit my account menu items
public
eeco_wco_my_account_menu_items(array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
- $items : array<string|int, mixed>
-
menu items
Return values
array<string|int, mixed> —$items edited menu items
eeco_wco_offers_template()
Get order listing templates for my account page
public
eeco_wco_offers_template() : void
Return values
void —eeco_wco_query_vars()
Add new query vars
public
eeco_wco_query_vars(array<string|int, mixed> $vars) : array<string|int, mixed>
Parameters
- $vars : array<string|int, mixed>
-
query vars
Return values
array<string|int, mixed> —Query vars