WP_Privacy_Requests_Table::get_columns

Advertisement

Summery Summery

Get columns to show in the list table.

Syntax Syntax

WP_Privacy_Requests_Table::get_columns()

Return Return

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

Source Source

File: wp-admin/includes/class-wp-privacy-requests-table.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply