Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Classes

  • EDD_Payment_History_Table

Functions

  • edd_payment_history_page
  • edd_payments_contextual_help

Class EDD_Payment_History_Table

EDD_Payment_History_Table Class

Renders the Payment History table on the Payment History page

WP_List_Table
Extended by EDD_Payment_History_Table
Package: EDD\Admin\Payments
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.4
Located at includes/admin/payments/class-payments-table.php

Methods summary

public
# __construct( )

Get things started

Get things started

Since

1.4

See

WP_List_Table::__construct()

Uses

EDD_Payment_History_Table::get_payment_counts()
public
# search_box( string $text, string $input_id )

Show the search field

Show the search field

Parameters

$text
string
$text Label for the search box
$input_id
string
$input_id ID of the search box

Since

1.4
public array
# get_views( )

Retrieve the view types

Retrieve the view types

Returns

array
$views All the views available

Since

1.4
public array
# get_columns( )

Retrieve the table columns

Retrieve the table columns

Returns

array
$columns Array of all the list table columns

Since

1.4

Used by

EDD_Payment_History_Table::prepare_items()
public array
# get_sortable_columns( )

Retrieve the table's sortable columns

Retrieve the table's sortable columns

Returns

array
Array of all the sortable columns

Since

1.4

Used by

EDD_Payment_History_Table::prepare_items()
public string
# column_default( array $item, string $column_name )

This function renders most of the columns in the list table.

This function renders most of the columns in the list table.

Parameters

$item
array
$item Contains all the data of the discount code
$column_name
string
$column_name The name of the column

Returns

string
Column Name

Since

1.4
public string
# column_email( array $item )

Render the Email Column

Render the Email Column

Parameters

$item
array
$item Contains all the data of the payment

Returns

string
Data shown in the Email column

Since

1.4
public string
# column_cb( array $item )

Render the checkbox column

Render the checkbox column

Parameters

$item
array
$item Contains all the data for the checkbox column

Returns

string
Displays a checkbox

Since

1.4
public string
# column_details( array $item )

Render the Details Column

Render the Details Column

Parameters

$item
array
$item Contains all the data of the payment

Returns

string
Data shown in the Details column

Since

1.4
public string
# column_user( array $item )

Render the User Column

Render the User Column

Parameters

$item
array
$item Contains all the data of the payment

Returns

string
Data shown in the User column

Since

1.4
public array
# get_bulk_actions( )

Retrieve the bulk actions

Retrieve the bulk actions

Returns

array
$actions Array of the bulk actions

Since

1.4
public
# process_bulk_action( )

Process the bulk actions

Process the bulk actions

Since

1.4

Used by

EDD_Payment_History_Table::prepare_items()
public
# get_payment_counts( )

Retrieve the payment counts

Retrieve the payment counts

Since

1.4

Used by

EDD_Payment_History_Table::__construct()
public array
# payments_data( )

Retrieve all the data for all the payments

Retrieve all the data for all the payments

Returns

array
$payment_data Array of all the data for the payments

Since

1.4

Used by

EDD_Payment_History_Table::prepare_items()
public
# prepare_items( )

Setup the final data for the table

Setup the final data for the table

Since

1.4

Uses

EDD_Payment_History_Table::get_columns()
EDD_Payment_History_Table::get_sortable_columns()
EDD_Payment_History_Table::process_bulk_action()
EDD_Payment_History_Table::payments_data()
WP_List_Table::get_pagenum()
WP_List_Table::set_pagination_args()

Magic methods summary

Properties summary

public string $per_page
#

Number of results to show per page

Number of results to show per page

Since

1.4
public string $base_url
#

URL of this page

URL of this page

Since

1.4.1
public integer $total_count
#

Total number of payments

Total number of payments

Since

1.4
public integer $complete_count
#

Total number of complete payments

Total number of complete payments

Since

1.4
public integer $pending_count
#

Total number of pending payments

Total number of pending payments

Since

1.4
public integer $refunded_count
#

Total number of refunded payments

Total number of refunded payments

Since

1.4
public integer $failed_count
#

Total number of failed payments

Total number of failed payments

Since

1.4
public integer $revoked_count
#

Total number of revoked payments

Total number of revoked payments

Since

1.4
Easy Digital Downloads API documentation generated by ApiGen 2.8.0