WordPress at Your Fingertips
function is not described

WP_Privacy_Requests_Table::get_columns() public WP 4.9.6

Get columns to show in the list table.

{} It's a method of the class: WP_Privacy_Requests_Table{}

No Hooks.

Return

String[]. Array of column titles keyed by their column name.

Usage

$WP_Privacy_Requests_Table = new WP_Privacy_Requests_Table();
$WP_Privacy_Requests_Table->get_columns();

Changelog

Since 4.9.6 Introduced.

Code of WP_Privacy_Requests_Table::get_columns() WP 5.8.2

public function get_columns() {
	$columns = array(
		'cb'                => '<input type="checkbox" />',
		'email'             => __( 'Requester' ),
		'status'            => __( 'Status' ),
		'created_timestamp' => __( 'Requested' ),
		'next_steps'        => __( 'Next steps' ),
	);
	return $columns;
}