WooCommerce Code Reference

Search results

WC_Admin_Webhooks_Table_List extends WP_List_Table

Webooks table list class.

Table of Contents

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

Methods

get_status_label()

Get the status label for webhooks.

private get_status_label( $status_name : string , $amount : int ) : array
Parameters
$status_name : string

Status name.

$amount : int

Amount of webhooks.

Return values
array

display_tablenav()

Generate the table navigation above or below the table.

protected display_tablenav( $which : string ) : mixed

Included to remove extra nonce input.

Parameters
$which : string

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

Return values
mixed

search_box()

Search box.

public search_box( $text : string , $input_id : string ) : mixed
Parameters
$text : string

Button text.

$input_id : string

Input ID.

Return values
mixed
Back to the top