WP_Privacy_Requests_Table::get_columns()publicWP 4.9.6

Gets columns to show in the list table.

Метод класса: WP_Privacy_Requests_Table{}

Хуков нет.

Возвращает

Строку[]. Array of column titles keyed by their column name.

Использование

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

Список изменений

С версии 4.9.6 Введена.

Код WP_Privacy_Requests_Table::get_columns() WP 6.4.3

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