WooCommerce Code Reference

WC_Admin_Webhooks_Table_List extends WP_List_Table
in package

Webooks table list class.

Table of Contents

__construct()  : mixed
Initialize the webhook table list.
column_cb()  : string
Column cb.
column_delivery_url()  : string
Return delivery URL column.
column_status()  : string
Return status column.
column_title()  : string
Return title column.
column_topic()  : string
Return topic column.
get_columns()  : array<string|int, mixed>
Get list columns.
no_items()  : mixed
No items found text.
prepare_items()  : mixed
Prepare table list items.
process_bulk_action()  : mixed
Process bulk actions.
search_box()  : mixed
Search box.
display_tablenav()  : mixed
Generate the table navigation above or below the table.
get_bulk_actions()  : array<string|int, mixed>
Get bulk actions.
get_views()  : array<string|int, mixed>
Table list views.
get_status_label()  : array<string|int, mixed>
Get the status label for webhooks.



Generate the table navigation above or below the table.

protected display_tablenav(string $which) : mixed

Included to remove extra nonce input.

$which : string

The location of the extra table nav markup: 'top' or 'bottom'.

Return values


Get the status label for webhooks.

private get_status_label(string $status_name, int $amount) : array<string|int, mixed>
$status_name : string

Status name.

$amount : int

Amount of webhooks.

Return values
array<string|int, mixed>