WC_Report_Customer_List
extends WP_List_Table
in package
WC_Report_Customer_List.
Tags
Table of Contents
- __construct() : mixed
- Constructor.
- column_default() : string
- Get column value.
- get_columns() : array<string|int, mixed>
- Get columns.
- no_items() : mixed
- No items found text.
- order_by_last_name() : WP_User_Query
- Order users by name.
- output_report() : mixed
- Output the report.
- prepare_items() : mixed
- Prepare customer list items.
Methods
__construct()
Constructor.
public
__construct() : mixed
Return values
mixed —column_default()
Get column value.
public
column_default(WP_User $user, string $column_name) : string
Parameters
- $user : WP_User
-
WP User object.
- $column_name : string
-
Column name.
Return values
string —get_columns()
Get columns.
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —no_items()
No items found text.
public
no_items() : mixed
Return values
mixed —order_by_last_name()
Order users by name.
public
order_by_last_name(WP_User_Query $query) : WP_User_Query
Parameters
- $query : WP_User_Query
-
Query that gets passed through.
Return values
WP_User_Query —output_report()
Output the report.
public
output_report() : mixed
Return values
mixed —prepare_items()
Prepare customer list items.
public
prepare_items() : mixed