PHP Class WC_Report_Customer_List

Author: WooThemes
Inheritance: extends WP_List_Table
Afficher le fichier Open project: woocommerce/woocommerce Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
column_default ( WP_User $user, string $column_name ) : string Get column value.
get_columns ( ) : array Get columns.
no_items ( ) No items found text.
order_by_last_name ( WP_User_Query $query ) Order users by name.
output_report ( ) Output the report.
prepare_items ( ) Prepare customer list items.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

column_default() public méthode

Get column value.
public column_default ( WP_User $user, string $column_name ) : string
$user WP_User
$column_name string
Résultat string

get_columns() public méthode

Get columns.
public get_columns ( ) : array
Résultat array

no_items() public méthode

No items found text.
public no_items ( )

order_by_last_name() public méthode

Order users by name.
public order_by_last_name ( WP_User_Query $query )
$query WP_User_Query

output_report() public méthode

Output the report.
public output_report ( )

prepare_items() public méthode

Prepare customer list items.
public prepare_items ( )