WP_Privacy_Requests_Table::get_columns(): string[]

In this article

Gets columns to show in the list table.

Return

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

Source

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

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.