WPDev.one
Core Class

WP_Privacy_Requests_Table

class WP_Privacy_Requests_Table // Constructor: function Object() { [native code] }

List Table API: WP_Privacy_Requests_Table class

Methods 18 methods

Method / Return Description
get_columns()
string[]

Gets columns to show in the list table.

get_admin_url()
string

Normalizes the admin URL to the current page (by request_type).

get_sortable_columns()
array

Gets a list of sortable columns.

get_default_primary_column_name()
string

Returns the default primary column.

get_request_counts()
object

Counts the number of requests for each status.

get_views()
string[]

Gets an associative array ( id => link ) with the list of views available on this table.

get_bulk_actions()
array

Gets bulk actions.

process_bulk_action()
void

Process bulk actions.

prepare_items()
void

Prepares items to output.

column_cb()
string

Returns the markup for the Checkbox column.

Parameters: $item: mixed
column_status()
(string

Status column.

Parameters: $item: mixed
get_timestamp_as_date()
string

Converts a timestamp for display.

Parameters: $timestamp: mixed
column_default()
void

Handles the default column.

Parameters: $item: mixed, $column_name: mixed
column_created_timestamp()
string

Returns the markup for the Created timestamp column. Overridden by children.

Parameters: $item: mixed
column_email()
string

Actions column. Overridden by children.

Parameters: $item: mixed
column_next_steps()
void

Returns the markup for the next steps column. Overridden by children.

Parameters: $item: mixed
single_row()
void

Generates content for a single row of the table,

Parameters: $item: mixed
embed_scripts()
void

Embeds scripts used to perform actions. Overridden by children.

Properties

Property / Type Description
$request_type
mixed
public
No description available.
$post_type
mixed
public
No description available.

Class Information

Since Version
4.9.6
Source File
wp-admin/includes/class-wp-privacy-requests-table.php
Advertisement